mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
Add read content from game but need change index
This commit is contained in:
1 parent
1eaa448685
commit
fd8433d9f9
3 files changed
+219
-23
No files matched your search
@@ -25,7 +25,8 @@
|
||||
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
|
||||
import '@testing-library/cypress/add-commands'
|
||||
|
||||
Cypress.Commands.add('Login', () => {
|
||||
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')
|
||||
|
||||
Reference in new issue
Block a user