Skip to content
Extraits de code Groupes Projets
Valider 75cf9c32 rédigé par Matthieu Aubry's avatar Matthieu Aubry Validation de GitHub
Parcourir les fichiers

revert file to master

parent aba93cc2
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
*/ */
describe("SegmentSelectorEditorTest", function () { describe("SegmentSelectorEditorTest", function () {
this.retries(3);
var selectorsToCapture = ".segmentEditorPanel,.segmentEditorPanel .dropdown-body,.segment-element"; var selectorsToCapture = ".segmentEditorPanel,.segmentEditorPanel .dropdown-body,.segment-element";
this.timeout(0); this.timeout(0);
...@@ -26,18 +24,16 @@ describe("SegmentSelectorEditorTest", function () { ...@@ -26,18 +24,16 @@ describe("SegmentSelectorEditorTest", function () {
it("should open selector when control clicked", function (done) { it("should open selector when control clicked", function (done) {
expect.screenshot("1_selector_open").to.be.captureSelector(selectorsToCapture, function (page) { expect.screenshot("1_selector_open").to.be.captureSelector(selectorsToCapture, function (page) {
page.click('.segmentationContainer .title'); page.click('.segmentationContainer .title');
page.wait(1000);
}, done); }, done);
}); });
it("should open segment editor when edit link clicked for existing segment", function (done) { it("should open segment editor when edit link clicked for existing segment", function (done) {
this.retries(3); this.retries(3);
expect.screenshot("2_segment_editor_update").to.be.captureSelector(selectorsToCapture, function (page) { expect.screenshot("2_segment_editor_update").to.be.captureSelector(selectorsToCapture, function (page) {
setTimeout(function () { page.click('.segmentList .editSegment:first');
page.click('.segmentList .editSegment:first'); page.wait(1000);
}, 500);
page.wait(2000);
}, done); }, done);
}); });
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter