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>
This commit is contained in:
Jonathan Druart 2022-11-04 10:04:29 +01:00 committed by Tomas Cohen Arazi
parent 075544d3f5
commit 4f1f8bb4ea
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
10 changed files with 13 additions and 6 deletions

View file

@ -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": "**/*.*"
}

View file

@ -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');

View file

@ -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');

View file

@ -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$/,