We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4885524 commit 2bcaff4Copy full SHA for 2bcaff4
cypress/support/commands/gtl.js
@@ -4,8 +4,8 @@ Cypress.Commands.add('gtl_error', () => {
4
return cy.get('#miq-gtl-view > #flash_msg_div').should('be.visible');
5
});
6
7
-Cypress.Commands.add('gtl_no_record', () => {
8
- return cy.get('#miq-gtl-view > div.no-record').should('be.visible');
+Cypress.Commands.add('verify_gtl_no_records_text', ({ containsText = 'No records' } = {}) => {
+ return cy.contains('#miq-gtl-view', containsText).should('be.visible');
9
10
11
Cypress.Commands.add('gtlGetTable', () => {
0 commit comments