Age | Commit message (Collapse) | Author |
|
Consolidate documentation written for e2e tests under dev docs
See merge request gitlab-org/gitlab-ce!28572
|
|
Previously the documentation was separated. If we want to bake
quality into the product, how better than to include everything
we use directly in the development documentation
Signed-off-by: ddavison <ddavison@gitlab.com>
Fix broken internal doc link
Move documentation for page objects to the e2e section
|
|
Use Dockerfile flow for QA Auto DevOps
See merge request gitlab-org/gitlab-ce!28648
|
|
Removes a block so that the login page is validated before the block,
while the login page is still present, instead of after it when the
login page is long gone
|
|
This results in 40MB images vs 400MB images which is faster to upload
and download. This does mean we lose the default herokuish QA coverage
but we should have adequate coverage in
https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/ now.
Triva: herokuish is bigger because it's base image is based on `ubuntu`.
|
|
[QA] Reload page to check if branch is deleted
See merge request gitlab-org/gitlab-ce!28583
|
|
|
|
Move public class methods out of private
See merge request gitlab-org/gitlab-ce!28768
|
|
Fabricate a file via the API
Closes gitlab-org/quality/nightly#42
See merge request gitlab-org/gitlab-ce!28770
|
|
Un-quarantine Auto DevOps QA test
Closes gitlab-org/quality/nightly#81
See merge request gitlab-org/gitlab-ce!28765
|
|
Add documentation for element naming conventions
See merge request gitlab-org/gitlab-ce!28563
|
|
Implement dynamic validation on QA Pages
Closes gitlab-qa#280
See merge request gitlab-org/gitlab-ce!25704
|
|
Since number fields, text boxes, text areas are editable
lets use _field as the vague descriptor
|
|
Refactor all capital files to lowercase
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
Now that it's possible to add a file via the API
we need to make sure the UI test uses the
browser UI fabrication, not the API.
|
|
|
|
private modifier by itself does nothing for class methods (need
`private_class_method` for that). As these are documented to be public
methods in README, move them to the top.
|
|
|
|
In addition to API, add support for toggling mased on UI too.
(Though fabricate_via_browser_ui is private)
|
|
Only some values can be masked. Currently API defaults :masked to false
and browser defaults :masked to true - resolve this ambiguity by
requiring QA to be explicit about which value it requires for :masked.
|
|
When the "Delete merged branches" button is used the UI doesn't
update automatically. So when the page is refreshed it's possible
that the branch will still be present.
This checks for the branch to be gone and reloads if it is not,
repeating until the default timeout (60s).
|
|
|
|
|
|
The suggestions were made while we were pair programming.
|
|
Minor improvement on resources doc
See merge request gitlab-org/gitlab-ce!28589
|
|
This is a second iteration to address the Resources section.
In a third iteration the Page Object section will be addressed.
|
|
|
|
Move Chrome variables under conditional
See merge request gitlab-org/gitlab-ce!28505
|
|
Quarantine failing test
See merge request gitlab-org/gitlab-ce!28517
|
|
Delegate CiVariable fabrication to API
See merge request gitlab-org/gitlab-ce!27924
|
|
|
|
Dont specify disable-dev-shm-usage for non-chrome browsers
|
|
Use .perform instead of .act in Mattermost test
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
Elements now have the ability to be required on pages or not
Currently using the default wait mechanism
Altered the ElementWithPattern Cop to fit new splat for init
|
|
|
|
No need to retry automatically when running tests locally
|
|
framework that intends to make easier for every engineer to
contribute with the end-to-end tests creation, edition, and
improvements.
|
|
Fix E2E test - wait for branches to not be present
See merge request gitlab-org/gitlab-ce!27805
|
|
Ruby 2.6 offers better performance and memory usage:
https://www.rubyguides.com/2018/11/ruby-2-6-new-features/
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/57323
|
|
Convert 'user adds a CI variable' to a :smoke test
Adjust support for API and UI fabrication
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
|
|
Uses the branch_name element to find a branch with a specific
name, instead of using a dynamic CSS class that can't be validated
by the sanity selector test
|
|
Instead of Resource::CiVariable fabricating via the browser_ui, let's
delegate to the API instead. (will shave off roughly 3-4s every use)
Override resource_web_url to catch ResourceURLMissingError as there
is no "show" action for a CI/CD var
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
|
|
|
|
As long as `has_no_branch?` is only called in an assertion it
shouldn't matter if it could return false but still allow the test to
continue.
So we don't need the new wait method
|
|
So it can be used elsewhere in the code
|