fix #216. Add base5

encode. Also add cypress.
This commit is contained in:
Cindy Chang
2024-06-11 12:23:17 +08:00
parent aa1dbfabf2
commit 314670eafd
2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
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');
})
});