Skip to content

Commit

Permalink
fix: run test (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
nxhawk committed Aug 4, 2024
1 parent 00b38a5 commit f121b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/test-01.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('My First Test', () => {
it('Does not do much!', () => {
cy.visit('http://localhost:3000/quizz/')
cy.visit('http://localhost:3000/testing-cypress/')

cy.wait(3000)
cy.contains('Baitaptracnghiem')
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const routes = [
]

const router = createRouter({
history: createWebHistory("quizz/"),
history: createWebHistory("testing-cypress/"),
routes,
scrollBehavior() {
document.getElementById('app')?.scrollIntoView({ behavior: 'smooth' });
Expand Down

0 comments on commit f121b86

Please sign in to comment.