Installing NPM dependencies in CI for tests
This commit is contained in:
parent
fcf0888864
commit
a3b20cf065
9
.github/workflows/end_to_end_tests.yml
vendored
9
.github/workflows/end_to_end_tests.yml
vendored
@ -20,6 +20,15 @@ jobs:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2.0.0"
|
||||
|
||||
- name: "Setup NodeJS"
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.x'
|
||||
|
||||
- name: "Install dependencies"
|
||||
run: yarn install
|
||||
working-directory: "tests"
|
||||
|
||||
- name: "Setup .env file"
|
||||
run: cp .env.template .env
|
||||
|
||||
|
@ -11,5 +11,5 @@ module.exports = {
|
||||
"thumbnails": false,
|
||||
},
|
||||
"assertionTimeout": 10000,
|
||||
"selectorTimeout": 20000,
|
||||
"selectorTimeout": 40000,
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ test("Test that variables storage works", async (t: TestController) => {
|
||||
|
||||
await t.useRole(userAlice)
|
||||
.switchToIframe("#cowebsite-buffer iframe")
|
||||
.debug()
|
||||
.expect(variableInput.value).eql('default value')
|
||||
.typeText(variableInput, 'new value')
|
||||
.switchToPreviousWindow()
|
||||
|
Loading…
Reference in New Issue
Block a user