Commit graph

22 commits

Author SHA1 Message Date
Mark Lapierre
8299df7593 Wait for Web IDE commit animation
Wait for the "Commit..." button to disappear and the "Stage & Commit"
button to appear before clicking the latter button. The animation that
is shown while changing the buttons must complete before clicking
"Stage & Commit" will have any effect _even if_ the button is visible
before the animation is complete.
2019-01-07 15:33:55 -05:00
Mark Lapierre
441dee4c31 Log text_filter arg of find_element 2018-12-28 13:15:46 -05:00
Mark Lapierre
cbfc00a1e5 Backport page object changes from EE
Add new page object methods from EE MR:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8937
2018-12-20 08:48:10 -05:00
Mark Lapierre
a85c8e346f Re-enable debug logging of Git commands and output 2018-10-25 15:21:21 -04:00
Mark Lapierre
45860bc807 Log page actions
Override page object methods to log the actions taken by the methods
before or after the action, as appropriate.

Allow page object action logging to be turned on via a QA_DEBUG env var.
Unlike CHROME_HEADLESS (and the soon to arrive VERBOSE), QA_DEBUG
is false by default.

QA_DEBUG is used instead of just DEBUG because that enables Selenium
debug logging.

Mask passwords entered into fields with a QA selector with 'password'
in the name. Doesn't mask sensitive data entered into any other field.
2018-10-19 18:32:33 -04:00
Rémy Coutable
1db52c79ad
Disable the QA/ElementWithPattern cop for existing offenses
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-15 17:55:53 +02:00
Rémy Coutable
182966312f
[QA] Improve admin hashed-storage settings
This was introduced by https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7371
for which no QA was run, even though QA files were changed.

This is a follow-up to
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7531.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-02 12:11:44 +02:00
Rémy Coutable
d2db7d40dd
Disambiguate 'File' under qa/ since we have a QA::Factory::Resource::File class as well
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-18 15:06:53 +02:00
Dmitriy Zaporozhets
896ae6fc15 Move repository, storage, abuse settings and logging settings to expandable sections
Also reorganize application settings related to repository in more maninful sections

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-02 15:03:54 +03:00
Grzegorz Bizon
a69b36264b Fix and simplify end-to-end tests for secret variables 2018-02-16 12:00:13 +01:00
Grzegorz Bizon
e85ed5cbcf Fix few typos in QA selectors validation code 2018-01-10 11:15:57 +01:00
Grzegorz Bizon
9910968f0c Fix QA selector class used to click on QA elements 2018-01-10 10:49:11 +01:00
Grzegorz Bizon
7725a7071d Reduce duplication in QA page elements-related code 2018-01-09 14:28:10 +01:00
Grzegorz Bizon
dee047aaca Add QA login page views / selectors definition 2018-01-09 13:21:23 +01:00
Grzegorz Bizon
e0edf6c7af Improve QA sanity selectors test output message 2018-01-09 12:34:47 +01:00
Grzegorz Bizon
fa07d23224 Add QA error when page class has no views defined 2018-01-09 12:06:58 +01:00
Grzegorz Bizon
d5a92c53dd Implement QA pages and views validator 2018-01-09 11:28:14 +01:00
Grzegorz Bizon
4b945e2845 Make it possible to define a QA-specific page element 2018-01-09 10:02:55 +01:00
Grzegorz Bizon
d2c2f93fe6 Append page validation error if view partial is missing 2017-12-22 16:09:00 +01:00
Grzegorz Bizon
d69e4541a4 Use composite pattern to return page view errors 2017-12-22 15:40:46 +01:00
Grzegorz Bizon
481f461380 Add implementation for matching view elements in QA 2017-12-22 15:22:54 +01:00
Grzegorz Bizon
856917520d Add domain specific language to define QA page elements 2017-12-22 13:01:12 +01:00