Skip to content

Commit

Permalink
[#1049] Script that executes all integration tests (#1344)
Browse files Browse the repository at this point in the history
Fixes #1049
  • Loading branch information
pascal-holy authored Mar 23, 2021
1 parent 49f150b commit d913165
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 15 additions & 0 deletions integration/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@ nodejs_binary(
"-C $(rootpath :cypress.json)",
],
)

nodejs_binary(
name = "cypress_run",
data = [
":cypress.json",
"//integration/chat-plugin:specs_output",
"//integration/ui:specs_output",
"@npm//cypress",
],
entry_point = "@npm//:node_modules/cypress/bin/cypress",
templated_args = [
"run",
"-C $(rootpath :cypress.json)",
],
)
5 changes: 3 additions & 2 deletions integration/cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"baseUrl": "http://airy.core/ui",
"baseUrl": "http://airy.core/ui",
"integrationFolder": "integration",
"testFiles": "**/*.spec.?s",
"env": {
Expand All @@ -13,5 +13,6 @@
"channelId": "3502a0a7-933d-5410-b5fc-51f041146d89"
},
"viewportHeight": 800,
"viewportWidth": 1280
"viewportWidth": 1280,
"video": false
}

0 comments on commit d913165

Please sign in to comment.