diff --git a/cypress/integration/nginxconfig_spec.js b/cypress/integration/nginxconfig_spec.js index d0a72d9..b6d307a 100644 --- a/cypress/integration/nginxconfig_spec.js +++ b/cypress/integration/nginxconfig_spec.js @@ -14,12 +14,12 @@ describe('nginxconfig.io', function () { it('should use passed params', function () { cy.visit(root + '?0.domain=nginxconfig.io'); cy.get('input.domain').should('have.value', 'nginxconfig.io'); - cy.get('#file-domain').contains('server_name nginxconfig.io;'); + cy.get('#file-domain-0').contains('server_name nginxconfig.io;'); }); it('should use legacy passed params', function () { cy.visit(root + '?domain=nginxconfig.io'); cy.get('input.domain').should('have.value', 'nginxconfig.io'); - cy.get('#file-domain').contains('server_name nginxconfig.io;'); + cy.get('#file-domain-0').contains('server_name nginxconfig.io;'); }); });