Skip to content

Commit

Permalink
Merge branch 'main' into task/zone-units-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
conbrad authored Oct 31, 2023
2 parents 21b2031 + e5445a9 commit a27664a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ coverage:
paths:
- web/src
# web isn't quite amazing yet - would be nice to push it up to 80%
target: 75%
target: 73%
14 changes: 7 additions & 7 deletions web/cypress/e2e/fire-behaviour-advisory-calculator-page.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ describe('FireBAT Calculator Page', () => {
cy.getByTestId('tooltip-fire-size').invoke('attr', 'style').should('eq', 'left: 0px;')
})
})
describe('Dropdowns', () => {
it('Can select station if successfully received stations', () => {
xdescribe('Dropdowns', () => {
xit('Can select station if successfully received stations', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')

visitAndAddRow()
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('FireBAT Calculator Page', () => {
cy.getByTestId('remove-rows').should('have.class', 'Mui-disabled')
})

it('Enables remove row(s) button when table is not empty', () => {
xit('Enables remove row(s) button when table is not empty', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')

visitAndAddRow()
Expand All @@ -157,7 +157,7 @@ describe('FireBAT Calculator Page', () => {
cy.getByTestId('remove-rows').should('not.have.class', 'Mui-disabled')
})

it('Rows can be added and removed', () => {
xit('Rows can be added and removed', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')

visitAndAddRow()
Expand All @@ -178,7 +178,7 @@ describe('FireBAT Calculator Page', () => {

cy.url().should('not.contain', `s=${stationCode}`)
})
it('Specific rows can be removed', () => {
xit('Specific rows can be removed', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')

visitAndAddRow()
Expand All @@ -201,7 +201,7 @@ describe('FireBAT Calculator Page', () => {
})
})

describe('Export data to CSV', () => {
xdescribe('Export data to CSV', () => {
it('Disables the Export button when 0 rows are selected', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')
visitAndAddRow()
Expand All @@ -223,7 +223,7 @@ describe('FireBAT Calculator Page', () => {
})
})

describe('Filter columns dialog', () => {
xdescribe('Filter columns dialog', () => {
it('Disables the Filter Columns dialog open button when 0 rows are in table', () => {
cy.intercept('GET', 'api/stations/*', { fixture: 'weather-stations.json' }).as('getStations')
cy.visit(FIRE_BEHAVIOR_CALC_ROUTE)
Expand Down

0 comments on commit a27664a

Please sign in to comment.