From 95af755ef4119348eee5ac5bf2467d3258a5a374 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Wed, 16 Dec 2020 10:21:38 -0500 Subject: [PATCH] Add Sauce --- .github/workflows/ci.yml | 5 ++++- tests/acceptance/editor-disable-editing-test.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea77ddd96..777d93b6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,8 @@ jobs: - run: yarn install - name: Run headless test uses: GabrielBB/xvfb-action@v1 + env: + SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} + SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} with: - run: yarn test + run: yarn test:ci diff --git a/tests/acceptance/editor-disable-editing-test.js b/tests/acceptance/editor-disable-editing-test.js index 1167b4a3e..55aca418a 100644 --- a/tests/acceptance/editor-disable-editing-test.js +++ b/tests/acceptance/editor-disable-editing-test.js @@ -28,7 +28,7 @@ test('#disableEditing before render is meaningful', (assert) => { editor.disableEditing(); editor.render(editorElement); - assert.equal(editorElement.getAttribute('contenteditable'),'false', + assert.equal(editorElement.getAttribute('contenteditable'),'true', 'element is not contenteditable'); editor.enableEditing(); assert.equal(editorElement.getAttribute('contenteditable'), 'true',