Skip to content

Commit

Permalink
fix(atomic): change language code for region specific languages (#3121)
Browse files Browse the repository at this point in the history
  • Loading branch information
olamothe authored Aug 22, 2023
1 parent 9521d26 commit c75c586
Show file tree
Hide file tree
Showing 3 changed files with 649 additions and 647 deletions.
4 changes: 3 additions & 1 deletion packages/atomic/cypress/e2e/search-interface.cypress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ describe('Search Interface Component', () => {
// - searchHub = 'testing hub'
// - pipeline = 'testing';
// - userDisplayname = 'Alice Smith';

const accessToken =
// eslint-disable-next-line @cspell/spellchecker
'eyJhbGciOiJIUzI1NiJ9.eyJwaXBlbGluZSI6InRlc3RpbmciLCJzZWFyY2hIdWIiOiJ0ZXN0aW5nIGh1YiIsInY4Ijp0cnVlLCJvcmdhbml6YXRpb24iOiJzZWFyY2h1aXNhbXBsZXMiLCJ1c2VySWRzIjpbeyJhdXRoQ29va2llIjoiIiwicHJvdmlkZXIiOiJFbWFpbCBTZWN1cml0eSBQcm92aWRlciIsIm5hbWUiOiJhc21pdGhAZXhhbXBsZS5jb20iLCJ0eXBlIjoiVXNlciIsImluZm9zIjp7fX1dLCJyb2xlcyI6WyJxdWVyeUV4ZWN1dG9yIl0sInVzZXJEaXNwbGF5TmFtZSI6IkFsaWNlIFNtaXRoIiwiZXhwIjoxNjQ2NzUzNDM0LCJpYXQiOjE2NDY2NjcwMzR9.p70UUYXKmg3sHU961G1Vmwp45qp8EgxvHisPMk-RUPw';
const tokenPipeline = 'testing';
const tokenSearchHub = 'testing hub';
Expand Down Expand Up @@ -261,7 +263,7 @@ describe('Search Interface Component', () => {
it('should work with lowercase regions', () => {
setLanguageAndWait('zh-tw');

QuerySummarySelectors.text().should('contain', '结果数');
QuerySummarySelectors.text().should('contain', '結果數');
});

it('should support adding a non-existing language', () => {
Expand Down
Loading

0 comments on commit c75c586

Please sign in to comment.