mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Add stage secret and try oAuth login settings
This commit is contained in:
1 parent
dba521b358
commit
be4af591af
5 files changed
+64
-7
No files matched your search
@@ -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()
|
||||
})
|
||||
Reference in new issue
Block a user