Skip to content

Commit

Permalink
Update issue templates
Browse files Browse the repository at this point in the history
add issue template for new test search
  • Loading branch information
duncdrum authored Sep 25, 2024
1 parent 9336a95 commit cc6239c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/new-test-search-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: 'New test search '
about: Draft a new search to be added to the tests
title: ''
labels: ''
assignees: ''

---

```js
describe('YOUR_DESCRIPTION', () => {
beforeEach(() => {
cy.visit({
url: '/Results',
qs: {
lookfor: 'THE_SEARCH_STRING',
type: 'allFields'
}
})
})

// see #ISSUE_NUMBER
it('should find title', () => {
cy.get('[href*="PPN"]')
.should('exist')
})
})
```

0 comments on commit cc6239c

Please sign in to comment.