Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot 9297127929 Add latest changes from gitlab-org/gitlab@master 2023-08-07 09:07:25 +00:00
GitLab Bot f5f72042cb Add latest changes from gitlab-org/gitlab@master 2023-06-02 15:09:42 +00:00
GitLab Bot acc1c1c468 Add latest changes from gitlab-org/gitlab@master 2023-05-18 21:08:58 +00:00
GitLab Bot 4717e30a23 Add latest changes from gitlab-org/gitlab@master 2023-05-18 15:07:09 +00:00
GitLab Bot c916c6f79b Add latest changes from gitlab-org/gitlab@master 2020-09-25 03:09:30 +00:00
GitLab Bot aaf124b0f7 Add latest changes from gitlab-org/gitlab@master 2019-11-18 21:06:19 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
ddavison 3281e6db23
Treat element#selector_css string appropriately
Proper escaping should be used for page/base.rb#scroll_to
as it is a single quoted JS string
2019-07-10 16:20:31 -07:00
ddavison 390e0d8906
Introduce data-qa-selector to supplant .qa-class
In order to break away from using CSS classes as
our primary method of element identification, we
need to provide the ability to search for data
attributes.

Make Test::Sanity::Selectors now work

Utilize regex to match on literal strings of the element name

Suggest the data-qa-selector pattern vs the qa-

Add data-qa-selector to login page to start

We need a page that is heavily used in order to be
confident that this functionality works. Let's start
with the Login page

Use appropriate HAML data tag practices
2019-07-10 16:09:43 -07:00
ddavison 7d5b68d837
Implement dynamic validation on QA Pages
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
2019-05-20 12:35:51 -07:00
Thong Kuah 0be52bf32f Add frozen_string_literal to qa/
This will be default in Ruby 3, so will be good to apply in QA ahead of
time to be consistent.
2019-04-13 00:45:38 +12: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 4b945e2845 Make it possible to define a QA-specific page element 2018-01-09 10:02:55 +01:00
Grzegorz Bizon d69e4541a4 Use composite pattern to return page view errors 2017-12-22 15:40:46 +01:00