Commit 6303802f authored by Maxime Hilberer's avatar Maxime Hilberer

plugin and start_vidjil removed

parent 3a4571bb
Pipeline #146512 failed with stages
in 7 minutes and 39 seconds
//import "cypress-file-upload";
describe("My First Test", function () {
it("Test local application", function () {
cy.visit("http://localhost:8000/");
cy.wait(200).then(() => {
const fileName = "test.vidjil";
cy.get("div");
cy.get("div.popup_container");
cy.get("button").contains("ok").click();
cy.get("div").contains("import/export").trigger("mouseover");
cy.get("div").contains("import data").click();
cy.get("input[id=upload_json]").uploadFile(fileName);
cy.get("button[id=start_import_json]")
.click()
.then(() => {
cy.wait(200);
});
cy.url().should("eq", "http://localhost:8000/?");
cy.get("div").contains("import/export").trigger("mouseover");
});
});
});
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment