diff --git a/.github/workflows/tugboat.yml b/.github/workflows/tugboat.yml index 6528e994c5..8478701957 100644 --- a/.github/workflows/tugboat.yml +++ b/.github/workflows/tugboat.yml @@ -110,11 +110,15 @@ jobs: console.log(result); return result.data.environment_url; - - name: echo tugboat preview url + - name: Cypress run + uses: cypress-io/github-action@v2 env: - BACKSTAGE_TEST_URL: ${{steps.get-status-env.outputs.result}} - run: yarn e2e-test cypress - + CYPRESS_baseUrl: ${{steps.get-status-env.outputs.result}} + with: + config-file: ./packages/e2e-test/src/cypress.json + browser: chrome + headless: true + - name: set status if: ${{ failure() }} uses: actions/github-script@v3 diff --git a/packages/e2e-test/src/cypress/integration/catalog.ts b/packages/e2e-test/src/cypress/integration/catalog.ts index 3518bac68d..31d39e7efd 100644 --- a/packages/e2e-test/src/cypress/integration/catalog.ts +++ b/packages/e2e-test/src/cypress/integration/catalog.ts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +/// import 'os'; describe('Catalog', () => {