The following changed lines in this MR contain QA selectors:
The following changed lines in this MR contain testid selectors:
* #{lines_with_qa_selectors.join("\n* ")}
* #{lines_with_testids.join("\n* ")}
If the `e2e:package-and-test` job in the `qa` stage has run automatically, please ensure the tests are passing.
If the `e2e:package-and-test` job in the `qa` stage has run automatically, please ensure the tests are passing.
If the job has not run, please start the `trigger-omnibus-and-follow-up-e2e` job in the `qa` stage and ensure the tests in `follow-up-e2e:package-and-test-ee` pipeline are passing.
If the job has not run, please start the `trigger-omnibus-and-follow-up-e2e` job in the `qa` stage and ensure the tests in `follow-up-e2e:package-and-test-ee` pipeline are passing.
...
@@ -47,20 +47,20 @@ if lines_with_qa_selectors.any?
...
@@ -47,20 +47,20 @@ if lines_with_qa_selectors.any?
MARKDOWN
MARKDOWN
warn"This merge request contains lines with QA selectors. Please ensure `e2e:package-and-test` job is run."
warn"This merge request contains lines with testid selectors. Please ensure `e2e:package-and-test` job is run."
end
end
ifdeprecated_qa_class.any?
ifdeprecated_qa_class.any?
markdown(<<~MARKDOWN)
markdown(<<~MARKDOWN)
### Deprecated .qa-selector class
### Deprecated data-qa-selector
The following lines in this MR contain deprecated qa class selectors:
The following lines in this MR contain deprecated data-qa-selector selectors:
* #{deprecated_qa_class.join("\n* ")}
* #{deprecated_qa_class.join("\n* ")}
Please ensure all deprecated qa class selectors are replaced with data-qa-selectors in accordance with our [Testing Guide](https://docs.gitlab.com/ee/development/testing_guide/end_to_end/page_objects.html#data-qa-selector-vs-qa-selector).
Please ensure all deprecated data-qa-selector attributes are replaced with data-testid attributes in accordance with our [Testing Guide](https://docs.gitlab.com/ee/development/testing_guide/end_to_end/page_objects.html#data-testid-vs-data-qa-selector).