summaryrefslogtreecommitdiff
path: root/qa/qa/page/element.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-181-1/+9
|
* Treat element#selector_css string appropriatelyqa-dd-data-qa-selector-replacementddavison2019-07-101-1/+1
| | | | | Proper escaping should be used for page/base.rb#scroll_to as it is a single quoted JS string
* Introduce data-qa-selector to supplant .qa-classddavison2019-07-101-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Implement dynamic validation on QA Pagesddavison2019-05-201-6/+19
| | | | | | 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
* Add frozen_string_literal to qa/frozen_string_literal_qaThong Kuah2019-04-131-0/+2
| | | | | This will be default in Ruby 3, so will be good to apply in QA ahead of time to be consistent.
* Fix QA selector class used to click on QA elementsGrzegorz Bizon2018-01-101-0/+4
|
* Reduce duplication in QA page elements-related codeGrzegorz Bizon2018-01-091-1/+5
|
* Add QA login page views / selectors definitionGrzegorz Bizon2018-01-091-4/+0
|
* Improve QA sanity selectors test output messageGrzegorz Bizon2018-01-091-0/+4
|
* Fix rubocop offense in QA page element classGrzegorz Bizon2018-01-091-1/+1
|
* Make it possible to define a QA-specific page elementGrzegorz Bizon2018-01-091-9/+10
|
* Use composite pattern to return page view errorsGrzegorz Bizon2017-12-221-7/+6
|
* Add implementation for matching view elements in QAGrzegorz Bizon2017-12-221-0/+12
|
* Move QA elements DSL as it belongs to different classGrzegorz Bizon2017-12-221-20/+0
|
* Add domain specific language to define QA page elementsGrzegorz Bizon2017-12-221-0/+26
|
* Add QA classes that represent view partials and elementsGrzegorz Bizon2017-12-221-0/+6