Skip to content

Commit

Permalink
Merge pull request #98 from mendix/test/enable-e2e-test
Browse files Browse the repository at this point in the history
Enable automated e2e test
  • Loading branch information
leonardomendix authored Jun 4, 2021
2 parents dba287f + 172ed56 commit 329419a
Show file tree
Hide file tree
Showing 17 changed files with 23,830 additions and 6,826 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/WebAutomatedTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run automated end-to-end tests

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
name: "Automated tests"
runs-on: ubuntu-latest

steps:
- name: "Checking-out code"
uses: actions/checkout@v2
with:
submodules: true
- name: "Defining cache"
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: "Defining node version"
uses: actions/setup-node@v2
with:
node-version: '12'
- name: "Installing dependencies"
run: npm install
- name: "Building package in production mode"
run: npm run build
- name: "Executing E2E tests"
run: npm run test:e2e -- ${{ steps.variables.outputs.arg }}
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "tests/testProject"]
path = tests/testProject
url = https://github.com/mendix/testProjects.git
branch = list-view-controls
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 329419a

Please sign in to comment.