Skip to content

Commit

Permalink
Update db container name
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-kiliushin committed Nov 8, 2023
1 parent 1c6ce30 commit d329f8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/budget-records.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("Budget records", () => {
* A flaky test: Always passes locally but sometimes fails in CI.
*/
it.skip("are paginated correctly", () => {
cy.exec(`docker exec -i personal-app-database /bin/bash < ${__dirname}/insert-many-records.sh`)
cy.exec(`docker exec -i budgetello-database /bin/bash < ${__dirname}/insert-many-records.sh`)
cy.authorize(testUsers.johnDoe.id)

cy.visit("/boards/1/records")
Expand Down
4 changes: 2 additions & 2 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import "./commands"
beforeEach(() => {
localStorage.clear()
cy.exec(
'echo "bash /var/app/database/scripts/restore-db-from-testing-template.sh" | docker exec -i personal-app-database bash;'
'echo "bash /var/app/database/scripts/restore-db-from-testing-template.sh" | docker exec -i budgetello-database bash;'
)
})

after(() => {
cy.exec(
'echo "bash /var/app/database/scripts/restore-db-from-testing-template.sh" | docker exec -i personal-app-database bash;'
'echo "bash /var/app/database/scripts/restore-db-from-testing-template.sh" | docker exec -i budgetello-database bash;'
)
})

0 comments on commit d329f8f

Please sign in to comment.