-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(EMS-4054): improve e2e test coverage
- Loading branch information
Showing
2 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
e2e-tests/constants/examples/multi-line-string-ordnance-survey-examples.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import { ORDNANCE_SURVEY_EXAMPLES } from './ordnance-survey-examples'; | ||
|
||
const { TREASURY } = ORDNANCE_SURVEY_EXAMPLES; | ||
const { TREASURY, WESTMINSTER_BRIDGE_STREET } = ORDNANCE_SURVEY_EXAMPLES; | ||
|
||
const { UNDERGROUND_STATION } = WESTMINSTER_BRIDGE_STREET; | ||
|
||
export const EXPECTED_TREASURY_SINGLE_LINE_STRING = `${TREASURY.ADDRESS_LINE_1}${TREASURY.ADDRESS_LINE_2}${TREASURY.TOWN}${TREASURY.POSTCODE}`; | ||
export const EXPECTED_TREASURY_MULTI_LINE_STRING = `${TREASURY.ADDRESS_LINE_1}\n${TREASURY.ADDRESS_LINE_2}\n${TREASURY.TOWN}\n${TREASURY.POSTCODE}`; | ||
|
||
export const EXPECTED_UNDERGROUND_STATION_SINGLE_LINE_STRING = `${UNDERGROUND_STATION.ADDRESS_LINE_1}${UNDERGROUND_STATION.ADDRESS_LINE_2}${UNDERGROUND_STATION.TOWN}${UNDERGROUND_STATION.POSTCODE}`; | ||
export const EXPECTED_UNDERGROUND_STATION_MULTI_LINE_STRING = `${UNDERGROUND_STATION.ADDRESS_LINE_1}\n${UNDERGROUND_STATION.ADDRESS_LINE_2}\n${UNDERGROUND_STATION.TOWN}\n${UNDERGROUND_STATION.POSTCODE}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters