Skip to content

Commit

Permalink
chore: spec
Browse files Browse the repository at this point in the history
cleanup

see #47
  • Loading branch information
duncdrum committed Jan 25, 2024
1 parent e9b6e82 commit 6122776
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 84 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ jobs:
build: npm install
config: baseUrl=https://stabikat.de/search/
env: grepUntagged=true
spec: |
cypress/e2e/spec.cy.js
cypress/e2e/author.cy.js
cypress/e2e/reviews.cy.js
cypress/e2e/nested.cy.js
cypress/e2e/multi-lang-phrase.cy.js
cypress/e2e/place.cy.js
cypress/e2e/chronology.cy.js
cypress/e2e/topical.cy.js
cypress/e2e/duplicates.cy.js
# browser: firefox
# Lint Yaml
- name: Yaml Lint
Expand Down
34 changes: 0 additions & 34 deletions cypress/e2e/simple-api.cy.js

This file was deleted.

19 changes: 15 additions & 4 deletions cypress/e2e/simple.cy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Results?lookfor=dad&type=AllFields
// test different connection options, sort of a self-test


describe('simple GUI spec', () => {
describe.skip('connection to GUI result list', () => {
before(() => {
cy.visit({
url: '/Results',
Expand All @@ -18,7 +17,7 @@ describe('simple GUI spec', () => {
})

// This will be a 403 from world should connect from internal network
it('should also pass via http request', () => {
it('connect to vufind result object', () => {
cy.request({
url: '/Results',
qs: {
Expand All @@ -29,4 +28,16 @@ describe('simple GUI spec', () => {
})

})

it('connects to index', () => {
cy.request({
url: 'https://findex.gbv.de/index/11/select',
qs: {
q: 'dad'
}
}).then((resp) => {
expect(resp.status).to.eq(200)
})

})
})
36 changes: 0 additions & 36 deletions cypress/e2e/spec.cy.js

This file was deleted.

0 comments on commit 6122776

Please sign in to comment.