Add stage secret and try oAuth login settings

This commit is contained in:
Annie Huang committed 2023-10-30 15:00:30 +08:00
1 parent dba521b358
commit be4af591af
5 files changed
+64 -7

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ import '@testing-library/cypress/add-commands'
Cypress.Commands.add('LoginWithPassword', () => {
cy.clearAllCookies()
cy.get('a.text-text-primary').should('contain', 'Log in').click()
cy.get('#username').type('alex')
cy.get('#password').type('123456')
cy.get('#username').type(Cypress.env('username'))
cy.get('#password').type(Cypress.env('password'))
cy.findByRole('button', { name: 'Log in' }).click()
})