Browse Source

Bug 32030: Move cypress to t/

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
22.11.x
Jonathan Druart 1 year ago
committed by Tomas Cohen Arazi
parent
commit
4f1f8bb4ea
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 11
      cypress.json
  2. 0
      t/cypress/fixtures/file.json
  3. 2
      t/cypress/integration/Agreements_spec.ts
  4. 2
      t/cypress/integration/Licenses_spec.ts
  5. 0
      t/cypress/integration/Packages_spec.ts
  6. 0
      t/cypress/integration/Titles_spec.ts
  7. 0
      t/cypress/plugins/index.js
  8. 0
      t/cypress/support/commands.js
  9. 0
      t/cypress/support/index.js
  10. 4
      webpack.config.js

11
cypress.json

@ -1,3 +1,10 @@
{
"baseUrl": "http://kohadev-intra.mydnsname.org:8081"
}
"baseUrl": "http://kohadev-intra.mydnsname.org:8081",
"fixturesFolder": "t/cypress/fixtures",
"integrationFolder": "t/cypress/integration",
"pluginsFile": "t/cypress/plugins",
"screenshotsFolder": "t/cypress/screenshots",
"supportFile": "t/cypress/support",
"videosFolder": "t/cypress/videos",
"testFiles": "**/*.*"
}

0
cypress/fixtures/file.json → t/cypress/fixtures/file.json

2
cypress/integration/Agreements_spec.ts → t/cypress/integration/Agreements_spec.ts

@ -263,7 +263,7 @@ describe("Agreement CRUD operations", () => {
// Add new document
cy.get("#documents").contains("Add new document").click();
cy.get("#document_0 input[id=file_0]").click();
cy.get('#document_0 input[id=file_0]').selectFile('cypress/fixtures/file.json');
cy.get('#document_0 input[id=file_0]').selectFile('t/cypress/fixtures/file.json');
cy.get("#document_0 .file_information span").contains("file.json");
cy.get('#document_0 input[id=file_description_0]').type('file description');
cy.get('#document_0 input[id=physical_location_0]').type('file physical location');

2
cypress/integration/Licenses_spec.ts → t/cypress/integration/Licenses_spec.ts

@ -108,7 +108,7 @@ describe("License CRUD operations", () => {
// Add new document
cy.get("#documents").contains("Add new document").click();
cy.get("#document_0 input[id=file_0]").click();
cy.get('#document_0 input[id=file_0]').selectFile('cypress/fixtures/file.json');
cy.get('#document_0 input[id=file_0]').selectFile('t/cypress/fixtures/file.json');
cy.get("#document_0 .file_information span").contains("file.json");
cy.get('#document_0 input[id=file_description_0]').type('file description');
cy.get('#document_0 input[id=physical_location_0]').type('file physical location');

0
cypress/integration/Packages_spec.ts → t/cypress/integration/Packages_spec.ts

0
cypress/integration/Titles_spec.ts → t/cypress/integration/Titles_spec.ts

0
cypress/plugins/index.js → t/cypress/plugins/index.js

0
cypress/support/commands.js → t/cypress/support/commands.js

0
cypress/support/index.js → t/cypress/support/index.js

4
webpack.config.js

@ -17,7 +17,7 @@ module.exports = {
{
test: /\.vue$/,
loader: "vue-loader",
exclude: [path.resolve(__dirname, "cypress/")],
exclude: [path.resolve(__dirname, "t/cypress/")],
},
{
test: /\.ts$/,
@ -25,7 +25,7 @@ module.exports = {
options: {
appendTsSuffixTo: [/\.vue$/]
},
exclude: [path.resolve(__dirname, "cypress/")],
exclude: [path.resolve(__dirname, "t/cypress/")],
},
{
test: /\.css$/,

Loading…
Cancel
Save