18 lines
695 B
JavaScript
18 lines
695 B
JavaScript
const urlUnderTest = `https://REDACTED-HOST/login?return-to=aHR0cHM6Ly9sdWNpYS1kZXYuZHNwLmltL2Rpc2NvdmVyL2NvbmZvcm1hbmNlL2xvZy8xODU1MjQ3OTcvY29uZm9ybWFuY2U=`;
|
|
describe('Conformance', ()=>{
|
|
beforeEach(() => {
|
|
cy.visit(urlUnderTest);
|
|
});
|
|
|
|
it('After pasting discover/conformance/log/ page, frontend should redirect to corresponding\
|
|
page, not login page', () => {
|
|
cy.get('#account').clear().type(` ${Cypress.env('user').username} `);
|
|
cy.get('#password').clear().type(` ${Cypress.env('user').password} `);
|
|
cy.get('.btn-lg').click();
|
|
cy.get('form').submit();
|
|
|
|
cy.contains('Conformance Checking Results').should('be.visible');
|
|
})
|
|
|
|
});
|