mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Favor firefox as test runner in cypress
- we have recommended our users to use firefox, so why should we test in Electron?
This commit is contained in:
parent
c81de16be0
commit
e9c0d44055
@ -6,7 +6,8 @@ addons:
|
||||
- libgconf-2-4
|
||||
snaps:
|
||||
- docker
|
||||
|
||||
firefox: "latest-esr"
|
||||
|
||||
install:
|
||||
- yarn global add wait-on
|
||||
# Install Codecov
|
||||
|
||||
@ -169,7 +169,7 @@ Then('each list item links to the post page', () => {
|
||||
Then('I can visit the post page', () => {
|
||||
cy.contains(annoyingUserWhoMutedModeratorTitle).click()
|
||||
cy.location('pathname').should('contain', '/post')
|
||||
.get('title').should('contain', annoyingUserWhoMutedModeratorTitle)
|
||||
.get('.base-card .title').should('contain', annoyingUserWhoMutedModeratorTitle)
|
||||
})
|
||||
|
||||
When("they have a post someone has reported", () => {
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
"cypress:backend": "cd backend && yarn run dev",
|
||||
"cypress:webapp": "cd webapp && yarn run dev",
|
||||
"cypress:setup": "run-p cypress:backend cypress:webapp",
|
||||
"cypress:run": "cross-env cypress run",
|
||||
"cypress:open": "cross-env cypress open",
|
||||
"cypress:run": "cross-env cypress run --browser firefox",
|
||||
"cypress:open": "cross-env cypress open --browser firefox",
|
||||
"cucumber:setup": "cd backend && yarn run dev",
|
||||
"cucumber": "wait-on tcp:4000 && cucumber-js --require-module @babel/register --exit",
|
||||
"release": "standard-version",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user