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:
parent
075544d3f5
commit
4f1f8bb4ea
10 changed files with 13 additions and 6 deletions
11
cypress.json
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": "**/*.*"
|
||||
}
|
||||
|
|
|
@ -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');
|
|
@ -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');
|
|
@ -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…
Reference in a new issue