gray-kilobyte-89541
05/09/2022, 9:38 PMCypress.config
does not have "paidUsername" - that is your own value, right? You should use Cypress.env
to store and retrieve it https://on.cypress.io/environment-variablesrough-sugar-96535
05/09/2022, 9:39 PMgray-kilobyte-89541
05/09/2022, 9:42 PMrough-sugar-96535
05/09/2022, 9:44 PMpowerful-orange-86819
05/10/2022, 6:20 AMgifted-boots-63851
05/10/2022, 12:52 PMindexedDB
object, it seems that this was the root of the stuck thing
it now works as intended, finally!magnificent-finland-58048
05/10/2022, 12:55 PMgray-kilobyte-89541
05/10/2022, 1:57 PMcy.dataSession
integrate with it. A single API key and the data is fetched / cached updated for all your specs and runnersthankful-insurance-51131
05/10/2022, 2:17 PMmagnificent-finland-58048
05/10/2022, 3:47 PMcalm-branch-41952
05/10/2022, 11:50 PMadorable-smartphone-87280
05/11/2022, 2:24 AMcalm-branch-41952
05/11/2022, 4:57 AMmagnificent-finland-58048
05/11/2022, 1:31 PMgifted-boots-63851
05/11/2022, 3:10 PMbeforeEach
(in fact Before
from cucumber) functions called before some tests to setup network interceptions and stuff, but it seems one of beforeEach
is making some conflicts with others that are setting up the cy.intercept
and thus, no interceptions is made and the tests fail.
the "faulty" before each is returning a Promise, is this right?
ts
// the bad one:
Before({ tags: '@some-login' }, () => signInWithEmailAndPassword(foo, bar))
// others Before:
Before({ tags: '@mocks' }, () => {
for (const m of mocksList) {
cy.intercept(m)
}
})
and in tests:
gherkin
Scenario: foobar
Feature: qux
@mock
@some-login
Scenario: etc
...
gifted-boots-63851
05/11/2022, 3:36 PMBefore
hooks aren t all run before the other steps run, so it's related to cucumber
...incalculable-rainbow-89158
05/11/2022, 7:29 PMcypress open-ct
it properly calls into the 'dev-server:start'
handler... but wont, when I try to run the integration runner, like: cypress open
... even if I add the --dev
flag, it throws an error about the /node_modules/scripts/start.js'
MODULE_NOT_FOUND. Ive tried adding a start
script to the package.json ... still no dice. ... Im tempted to use bahmutov/start-server-and-test
, but assumed that @cypress/vite-dev-server
should work on its own.plain-salesclerk-63038
05/12/2022, 9:14 AMmammoth-fall-22117
05/12/2022, 11:34 AMplain-salesclerk-63038
05/12/2022, 11:41 AMmammoth-fall-22117
05/12/2022, 11:42 AMplain-salesclerk-63038
05/12/2022, 11:43 AMmammoth-fall-22117
05/12/2022, 11:43 AMmammoth-fall-22117
05/12/2022, 11:43 AMmammoth-fall-22117
05/12/2022, 11:44 AMmammoth-fall-22117
05/12/2022, 11:44 AMplain-salesclerk-63038
05/12/2022, 11:48 AMplain-salesclerk-63038
05/12/2022, 11:49 AMmagnificent-finland-58048
05/12/2022, 1:45 PMplain-salesclerk-63038
05/12/2022, 1:52 PM[931:0512/133844.702999:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is