Skip to content

Commit 4c39f48

Browse files
authored
fix: Merge pull request #190 from UniversalDataTool/feature/cypress-config
Cypress Configuration
2 parents 3cc5117 + 08c59b5 commit 4c39f48

10 files changed

+16
-10
lines changed

cypress.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"projectId": "w62sqq"
2+
"projectId": "w62sqq",
3+
"pageLoadTimeout": 6000,
4+
"defaultCommandTimeout": 4000,
5+
"baseUrl": "http://localhost:6001",
6+
"execTimeout": 60000,
7+
"requestTimeout": 60000,
8+
"responseTimeout": 30000
39
}

cypress/integration/create-new-file.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe("Create a new file in the universal data tool", () => {
22
it("should be able to create a new file", () => {
3-
cy.visit("http://localhost:6001")
3+
cy.visit("/")
44

55
cy.contains("New File").click()
66
})

cypress/integration/image-classification.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const times = (howManyTimes) => (functionWillExecute) => {
77

88
describe("Import ai generated faces and make image classification with them", () => {
99
it("should be able to create", () => {
10-
cy.visit("http://localhost:6001")
10+
cy.visit("/")
1111

1212
cy.contains("New File").click()
1313
})

cypress/integration/image-segmentation.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe("Create a new", () => {
22
it("should be able to create", () => {
3-
cy.visit("http://localhost:6001")
3+
cy.visit("/")
44

55
cy.contains("New File").click()
66
})

cypress/integration/keyboard-shortcuts.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe("Test default keyboard shortcuts", () => {
22
it.skip("should be able to navigate to label tab with default shortcut", () => {
3-
cy.visit("http://localhost:6001")
3+
cy.visit("/")
44

55
cy.contains("New File").click()
66

cypress/integration/labelhelp.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe("Create a Label Help ", () => {
22
it("should be able to use label help", () => {
3-
cy.visit("http://localhost:6001")
3+
cy.visit("/")
44

55
cy.contains("Start from Template").click()
66
cy.contains("Image Classification").click()

cypress/integration/named-entity-recognition.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const times = (howManyTimes) => (functionWillExecute) => {
77

88
describe("Create a new", () => {
99
it("should be able to create", () => {
10-
cy.visit("http://localhost:6001")
10+
cy.visit("/")
1111

1212
cy.contains("New File").click()
1313
})

cypress/integration/paste-image-urls-with-csv.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const csvRows = [
77

88
describe("Create a new", () => {
99
it('should be able to create', () => {
10-
cy.visit("http://localhost:6001")
10+
cy.visit("/")
1111
cy.contains("New File").click()
1212
})
1313

cypress/integration/paste-image-urls.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const imageUrls = [
66

77
describe("Create a new", () => {
88
it('should be able to create', () => {
9-
cy.visit("http://localhost:6001")
9+
cy.visit("/")
1010
cy.contains("New File").click()
1111
})
1212

cypress/integration/text-entity-classification.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const inputValues = [positive, negative, neutral]
2828
// You need to ```npm start```
2929
describe("Create a new text entity classification, label that and show that", () => {
3030
it("should be able to create new file", () => {
31-
cy.visit("http://localhost:6001")
31+
cy.visit("/")
3232

3333
cy.contains("New File").click()
3434
})

0 commit comments

Comments
 (0)