Skip to content

Commit

Permalink
corrected options for regression test DevExpressgh-889, fixed client …
Browse files Browse the repository at this point in the history
…legacy press test (DevExpress#1044)

* corrected options for regression test DevExpressgh-889, fixed legacy client press test

* Appveyor config fixed
  • Loading branch information
georgiy-abbasov authored and LavrovArtem committed Dec 12, 2016
1 parent c5db87a commit 9df62eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ build: off
# NOTE: We should prerun Firefox to avoid "Refresh Firefox" notification in the tests window.
test_script:
- cmd: >-
npm test
start /D "C:\Program Files (x86)\Mozilla Firefox" firefox.exe -new-window https://google.com
npm test
2 changes: 1 addition & 1 deletion test/client/legacy-fixtures/api/press-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ $(document).ready(function () {
return waitForIframeReloaded(iframe);
})
.then(function () {
equal(iframe.contentWindow.location.pathname, '/sessionId/https://example.com/test-resource/focus-iframe.html', 'path is correct before click on link');
equal(iframe.contentWindow.location.pathname, '/sessionId!i/https://example.com/test-resource/focus-iframe.html', 'path is correct after click on link');
ok(clicked);

testFinished = true;
Expand Down
4 changes: 2 additions & 2 deletions test/functional/fixtures/regression/gh-889/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
describe('[Regression](GH-889)', function () {
it('Should not call blur for table', function () {
return runTests('testcafe-fixtures/index.test.js', 'Click on children of table', { skip: 'ie' });
return runTests('testcafe-fixtures/index.test.js', 'Click on children of table', { skip: ['ie', 'ie 9', 'ie 10'] });
});

it('Should not call blur for table (for IE)', function () {
return runTests('testcafe-fixtures/index.test.js', 'Click on children of table (for IE)', { only: 'ie' });
return runTests('testcafe-fixtures/index.test.js', 'Click on children of table (for IE)', { only: ['ie', 'ie 9', 'ie 10'] });
});
});

0 comments on commit 9df62eb

Please sign in to comment.