Commit e8bb4411 authored by Jakob Moser's avatar Jakob Moser
Browse files

Try adding CI

parent 451655bb
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+7 −0
Original line number Diff line number Diff line
test:
  image:
    name: cypress/included
    entrypoint: [""]
  stage: test
  script:
    - cypress run

cypress.config.js

0 → 100644
+7 −0
Original line number Diff line number Diff line
const { defineConfig } = require('cypress')

module.exports = defineConfig({
  e2e: {
    baseUrl: 'http://localhost:8000'
  }
})
+7 −0
Original line number Diff line number Diff line
describe("Start page", () => {
    it("loads and contains a heading", () => {
        cy.visit("/")

        cy.contains("Was möchtest du tun?")
    })
})