Skip to content

Commit

Permalink
downgrade test runner and update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Nov 12, 2024
1 parent 29bf375 commit 13438ed
Show file tree
Hide file tree
Showing 28 changed files with 24,205 additions and 21,714 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Build packages
run: pnpm prepublish
- name: Install Playwright
run: npx playwright install --with-deps
run: pnpm exec playwright install --with-deps
- name: Lint code
run: pnpm run lint:js
- name: Lint styles
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@storybook/react": "7.6.17",
"@storybook/react-webpack5": "7.6.17",
"@storybook/storybook-deployer": "^2.8.10",
"@storybook/test-runner": "^0.17.0",
"@storybook/test-runner": "^0.16.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.0.0",
"@types/styled-components": "^5.1.9",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Building-Blocks/Alert BasicAlert smoke-test 1`] = `
<div class="Alert__AlertContainer-sc-2vlo3n-0 gPtodQ">
<div class="Alert__AlertContainer-sc-2vlo3n-0 bVfQIo">
<svg viewbox="0 0 16 16"
height="24"
width="24"
aria-hidden="true"
focusable="false"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
class="StyledIconBase-sc-ea9ulj-0 kcHuPT"
class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
>
<path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z">
</path>
</svg>
<span class="Alert__AlertHeader-sc-2vlo3n-2 eDIciz">
<span class="Alert__AlertHeader-sc-2vlo3n-2 fpauiN">
Next trip starts on Wednesday April 17th
</span>
<span class="Alert__ButtonContainer-sc-2vlo3n-1 jSUXYc">
<span class="Alert__ButtonContainer-sc-2vlo3n-1 cKzYKK">
</span>
<span class="Alert__AlertHeader-sc-2vlo3n-2 Alert__AlertSubheader-sc-2vlo3n-3 eDIciz dtxEUe">
<span class="Alert__AlertHeader-sc-2vlo3n-2 Alert__AlertSubheader-sc-2vlo3n-3 fpauiN dYdxsJ">
Trip is due to begin at 7:43 AM (Realtime monitoring will being at 7:13 AM)
</span>
<div class="Alert__AlertContent-sc-2vlo3n-4 hzBuor">
<div class="Alert__AlertContent-sc-2vlo3n-4 UrwUS">
<div aria-hidden="false"
class="rah-static rah-static--height-auto "
style="height: auto; overflow: visible;"
>
<div>
<div class="Alert__ContentPadding-sc-2vlo3n-5 guzSYn">
<div class="Alert__ContentPadding-sc-2vlo3n-5 isIayL">
Here is more content
</div>
</div>
Expand All @@ -38,25 +38,25 @@ exports[`Building-Blocks/Alert BasicAlert smoke-test 1`] = `
`;

exports[`Building-Blocks/Alert CollapsibleAlertWithTransitAlerts smoke-test 1`] = `
<div class="Alert__AlertContainer-sc-2vlo3n-0 dxIAKf">
<div class="Alert__AlertContainer-sc-2vlo3n-0 bqBujX">
<svg viewbox="0 0 16 16"
height="24"
width="24"
aria-hidden="true"
focusable="false"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
class="StyledIconBase-sc-ea9ulj-0 kcHuPT"
class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
>
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z">
</path>
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z">
</path>
</svg>
<span class="Alert__AlertHeader-sc-2vlo3n-2 eDIciz">
<span class="Alert__AlertHeader-sc-2vlo3n-2 fpauiN">
Your trip has alerts
</span>
<span class="Alert__ButtonContainer-sc-2vlo3n-1 jSUXYc">
<span class="Alert__ButtonContainer-sc-2vlo3n-1 cKzYKK">
<button type="button"
aria-label="Expand"
title="Expand"
Expand All @@ -68,7 +68,7 @@ exports[`Building-Blocks/Alert CollapsibleAlertWithTransitAlerts smoke-test 1`]
focusable="false"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
class="StyledIconBase-sc-ea9ulj-0 kcHuPT"
class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
>
<path fill-rule="evenodd"
d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"
Expand All @@ -77,13 +77,13 @@ exports[`Building-Blocks/Alert CollapsibleAlertWithTransitAlerts smoke-test 1`]
</svg>
</button>
</span>
<div class="Alert__AlertContent-sc-2vlo3n-4 hzBuor">
<div class="Alert__AlertContent-sc-2vlo3n-4 UrwUS">
<div aria-hidden="true"
class="rah-static rah-static--height-zero "
style="height: 0px; overflow: hidden;"
>
<div style="display: none;">
<div class="Alert__ContentPadding-sc-2vlo3n-5 frerzB">
<div class="Alert__ContentPadding-sc-2vlo3n-5 esOwtt">
<div>
1) TriMet Customer Service will be unavailable to serve text messages or Twitter responses from 9:00 p.m.- 11:30 p.m. For immediate assistance regarding safety or security concerns, please contact the police via 911.
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Building-Blocks/Dropdown DropdownAsOtprrNavItem smoke-test 1`] = `
<div class="dropdownstory__NavItemWrapper-sc-giygrt-0 fXLCFd">
<span class="styled__DropdownWrapper-sc-kes9ha-2 dgncpu navBarItem"
<div class="dropdownstory__NavItemWrapper-sc-giygrt-0 jFfMlb">
<span class="styled__DropdownWrapper-sc-kes9ha-2 elAsDS navBarItem"
id="dropdown-navbar-wrapper"
>
<button aria-expanded="false"
aria-haspopup="listbox"
aria-label="Dropdown navbar"
id="dropdown-navbar-label"
title="Dropdown navbar"
class="styled__DropdownButton-sc-kes9ha-0 eBZyNH"
class="styled__DropdownButton-sc-kes9ha-0 eRScRa"
>
<span>
Icon
Expand All @@ -25,15 +25,15 @@ exports[`Building-Blocks/Dropdown DropdownAsOtprrNavItem smoke-test 1`] = `
`;

exports[`Building-Blocks/Dropdown DropdownWithLabel smoke-test 1`] = `
<span class="styled__DropdownWrapper-sc-kes9ha-2 dgncpu"
<span class="styled__DropdownWrapper-sc-kes9ha-2 elAsDS"
id="dropdown-with-label-wrapper"
>
<button aria-expanded="false"
aria-haspopup="listbox"
aria-label="Dropdown with label"
id="dropdown-with-label-label"
title="Dropdown with label"
class="styled__DropdownButton-sc-kes9ha-0 eBZyNH"
class="styled__DropdownButton-sc-kes9ha-0 eRScRa"
>
<span>
Dropdown with label
Expand All @@ -47,15 +47,15 @@ exports[`Building-Blocks/Dropdown DropdownWithLabel smoke-test 1`] = `
`;

exports[`Building-Blocks/Dropdown DropdownWithList smoke-test 1`] = `
<span class="styled__DropdownWrapper-sc-kes9ha-2 dgncpu"
<span class="styled__DropdownWrapper-sc-kes9ha-2 elAsDS"
id="dropdown-with-ul-wrapper"
>
<button aria-expanded="false"
aria-haspopup="listbox"
aria-label="Dropdown with ul"
id="dropdown-with-ul-label"
title="Dropdown with ul"
class="styled__DropdownButton-sc-kes9ha-0 eBZyNH"
class="styled__DropdownButton-sc-kes9ha-0 eRScRa"
>
<span>
Dropdown with ul
Expand All @@ -69,15 +69,15 @@ exports[`Building-Blocks/Dropdown DropdownWithList smoke-test 1`] = `
`;

exports[`Building-Blocks/Dropdown DropdownWithListAlignMenuLeft smoke-test 1`] = `
<span class="styled__DropdownWrapper-sc-kes9ha-2 dgncpu"
<span class="styled__DropdownWrapper-sc-kes9ha-2 elAsDS"
id="dropdown-with-ul-wrapper"
>
<button aria-expanded="false"
aria-haspopup="listbox"
aria-label="Dropdown with ul"
id="dropdown-with-ul-label"
title="Dropdown with ul"
class="styled__DropdownButton-sc-kes9ha-0 eBZyNH"
class="styled__DropdownButton-sc-kes9ha-0 eRScRa"
>
<span>
Dropdown with ul
Expand Down
Loading

0 comments on commit 13438ed

Please sign in to comment.