-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial snapshot + lfs + testing setup
- Loading branch information
1 parent
2d3b350
commit 3f00989
Showing
138 changed files
with
2,651 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.yarn/plugins/**/* binary | ||
/.pnp.* binary linguist-generated |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
v18.17.1 |
Binary file added
BIN
+10.3 KB
crates/mipsy_web/.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-4a473b9b32.zip
Binary file not shown.
Binary file added
BIN
+12.3 KB
crates/mipsy_web/.yarn/cache/@npmcli-fs-npm-3.1.0-0844a57978-a50a6818de.zip
Binary file not shown.
Binary file added
BIN
+27.3 KB
crates/mipsy_web/.yarn/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-6ad6a00fc4.zip
Binary file not shown.
Binary file added
BIN
+730 KB
crates/mipsy_web/.yarn/cache/@playwright-test-npm-1.37.1-6f5b6a2aeb-b7038f2900.zip
Binary file not shown.
Binary file added
BIN
+6.74 KB
crates/mipsy_web/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip
Binary file not shown.
Binary file added
BIN
+747 KB
crates/mipsy_web/.yarn/cache/@types-node-npm-20.6.0-73d5022935-52611801af.zip
Binary file not shown.
Binary file added
BIN
+2.87 KB
crates/mipsy_web/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip
Binary file not shown.
Binary file added
BIN
+13.3 KB
crates/mipsy_web/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip
Binary file not shown.
Binary file added
BIN
+15.5 KB
crates/mipsy_web/.yarn/cache/agentkeepalive-npm-4.5.0-f237b580b2-13278cd5b1.zip
Binary file not shown.
Binary file added
BIN
+3.99 KB
crates/mipsy_web/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip
Binary file not shown.
Binary file added
BIN
+3.78 KB
crates/mipsy_web/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip
Binary file not shown.
Binary file added
BIN
+3.81 KB
crates/mipsy_web/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip
Binary file not shown.
Binary file added
BIN
+6.76 KB
crates/mipsy_web/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip
Binary file not shown.
Binary file added
BIN
+6.88 KB
crates/mipsy_web/.yarn/cache/ansi-styles-npm-6.2.1-d43647018c-ef940f2f0c.zip
Binary file not shown.
Binary file added
BIN
+4.45 KB
crates/mipsy_web/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip
Binary file not shown.
Binary file added
BIN
+6.79 KB
crates/mipsy_web/.yarn/cache/are-we-there-yet-npm-3.0.1-3395b1512f-52590c2486.zip
Binary file not shown.
Binary file added
BIN
+4.29 KB
crates/mipsy_web/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip
Binary file not shown.
Binary file added
BIN
+5.47 KB
crates/mipsy_web/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip
Binary file not shown.
Binary file added
BIN
+5.91 KB
crates/mipsy_web/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip
Binary file not shown.
Binary file added
BIN
+24.6 KB
crates/mipsy_web/.yarn/cache/cacache-npm-17.1.4-51ef53d0a8-b7751df756.zip
Binary file not shown.
Binary file added
BIN
+2.79 KB
crates/mipsy_web/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip
Binary file not shown.
Binary file added
BIN
+3.59 KB
crates/mipsy_web/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip
Binary file not shown.
Binary file added
BIN
+10.3 KB
crates/mipsy_web/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip
Binary file not shown.
Binary file added
BIN
+3.41 KB
crates/mipsy_web/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip
Binary file not shown.
Binary file added
BIN
+4.78 KB
crates/mipsy_web/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip
Binary file not shown.
Binary file added
BIN
+3.75 KB
crates/mipsy_web/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip
Binary file not shown.
Binary file added
BIN
+5.75 KB
crates/mipsy_web/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip
Binary file not shown.
Binary file added
BIN
+9.98 KB
crates/mipsy_web/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip
Binary file not shown.
Binary file added
BIN
+15.4 KB
crates/mipsy_web/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip
Binary file not shown.
Binary file added
BIN
+4.14 KB
crates/mipsy_web/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip
Binary file not shown.
Binary file added
BIN
+3.32 KB
crates/mipsy_web/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip
Binary file not shown.
Binary file added
BIN
+11.7 KB
crates/mipsy_web/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip
Binary file not shown.
Binary file added
BIN
+20.4 KB
crates/mipsy_web/.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip
Binary file not shown.
Binary file added
BIN
+4.46 KB
crates/mipsy_web/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip
Binary file not shown.
Binary file added
BIN
+4.83 KB
crates/mipsy_web/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip
Binary file not shown.
Binary file added
BIN
+5.63 KB
crates/mipsy_web/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip
Binary file not shown.
Binary file added
BIN
+22.3 KB
crates/mipsy_web/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip
Binary file not shown.
Binary file added
BIN
+26.9 KB
crates/mipsy_web/.yarn/cache/foreground-child-npm-3.1.1-77e78ed774-139d270bc8.zip
Binary file not shown.
Binary file added
BIN
+5.08 KB
crates/mipsy_web/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip
Binary file not shown.
Binary file added
BIN
+5.2 KB
crates/mipsy_web/.yarn/cache/fs-minipass-npm-3.0.3-d148d6ac19-8722a41109.zip
Binary file not shown.
Binary file added
BIN
+5.78 KB
crates/mipsy_web/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip
Binary file not shown.
Binary file added
BIN
+22.3 KB
crates/mipsy_web/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+128 KB
crates/mipsy_web/.yarn/cache/glob-npm-10.3.4-f58cd31f55-176b97c124.zip
Binary file not shown.
Binary file added
BIN
+19.2 KB
crates/mipsy_web/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip
Binary file not shown.
Binary file added
BIN
+11.4 KB
crates/mipsy_web/.yarn/cache/graceful-fs-npm-4.2.11-24bb648a68-ac85f94da9.zip
Binary file not shown.
Binary file added
BIN
+2.67 KB
crates/mipsy_web/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip
Binary file not shown.
Binary file added
BIN
+11.7 KB
crates/mipsy_web/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip
Binary file not shown.
Binary file added
BIN
+7.92 KB
crates/mipsy_web/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip
Binary file not shown.
Binary file added
BIN
+11.7 KB
crates/mipsy_web/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip
Binary file not shown.
Binary file added
BIN
+2.71 KB
crates/mipsy_web/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip
Binary file not shown.
Binary file added
BIN
+191 KB
crates/mipsy_web/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip
Binary file not shown.
Binary file added
BIN
+5.38 KB
crates/mipsy_web/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip
Binary file not shown.
Binary file added
BIN
+3.09 KB
crates/mipsy_web/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip
Binary file not shown.
Binary file added
BIN
+2.67 KB
crates/mipsy_web/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip
Binary file not shown.
Binary file added
BIN
+2.88 KB
crates/mipsy_web/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.32 KB
crates/mipsy_web/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip
Binary file not shown.
Binary file added
BIN
+2.86 KB
crates/mipsy_web/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip
Binary file not shown.
Binary file added
BIN
+5.32 KB
crates/mipsy_web/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip
Binary file not shown.
Binary file added
BIN
+61.9 KB
crates/mipsy_web/.yarn/cache/jackspeak-npm-2.3.3-755684cc60-4313a7c0cc.zip
Binary file not shown.
Binary file added
BIN
+160 KB
crates/mipsy_web/.yarn/cache/lru-cache-npm-10.0.1-0e1abf4c13-06f8d0e1ce.zip
Binary file not shown.
Binary file added
BIN
+6.43 KB
crates/mipsy_web/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip
Binary file not shown.
Binary file added
BIN
+36.3 KB
crates/mipsy_web/.yarn/cache/lru-cache-npm-7.18.3-e68be5b11c-e550d77238.zip
Binary file not shown.
Binary file added
BIN
+23.7 KB
crates/mipsy_web/.yarn/cache/make-fetch-happen-npm-11.1.1-f32b79aaaa-7268bf274a.zip
Binary file not shown.
Binary file added
BIN
+12.6 KB
crates/mipsy_web/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip
Binary file not shown.
Binary file added
BIN
+124 KB
crates/mipsy_web/.yarn/cache/minimatch-npm-9.0.3-69d7d6fad5-253487976b.zip
Binary file not shown.
Binary file added
BIN
+2.79 KB
crates/mipsy_web/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip
Binary file not shown.
Binary file added
BIN
+17 KB
crates/mipsy_web/.yarn/cache/minipass-fetch-npm-3.0.4-200ac7c66d-af7aad15d5.zip
Binary file not shown.
Binary file added
BIN
+2.7 KB
crates/mipsy_web/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip
Binary file not shown.
Binary file added
BIN
+16.1 KB
crates/mipsy_web/.yarn/cache/minipass-npm-3.3.6-b8d93a945b-a30d083c80.zip
Binary file not shown.
Binary file added
BIN
+21.8 KB
crates/mipsy_web/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip
Binary file not shown.
Binary file added
BIN
+71.7 KB
crates/mipsy_web/.yarn/cache/minipass-npm-7.0.3-3b57909ee9-6f1614f5b5.zip
Binary file not shown.
Binary file added
BIN
+3.71 KB
crates/mipsy_web/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip
Binary file not shown.
Binary file added
BIN
+30.8 KB
crates/mipsy_web/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip
Binary file not shown.
Binary file added
BIN
+6.97 KB
crates/mipsy_web/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip
Binary file not shown.
Binary file added
BIN
+9.56 KB
crates/mipsy_web/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+10.6 KB
crates/mipsy_web/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip
Binary file not shown.
Binary file added
BIN
+511 KB
crates/mipsy_web/.yarn/cache/node-gyp-npm-9.4.0-ebf5f5573e-78b404e2e0.zip
Binary file not shown.
Binary file added
BIN
+9.53 KB
crates/mipsy_web/.yarn/cache/nopt-npm-6.0.0-5ea8050815-82149371f8.zip
Binary file not shown.
Binary file added
BIN
+6.87 KB
crates/mipsy_web/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip
Binary file not shown.
Binary file added
BIN
+2.53 KB
crates/mipsy_web/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip
Binary file not shown.
Binary file added
BIN
+4.72 KB
crates/mipsy_web/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip
Binary file not shown.
Binary file added
BIN
+2.59 KB
crates/mipsy_web/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip
Binary file not shown.
Binary file added
BIN
+3.28 KB
crates/mipsy_web/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip
Binary file not shown.
Binary file added
BIN
+107 KB
crates/mipsy_web/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-e2557cff3a.zip
Binary file not shown.
Binary file added
BIN
+2.16 MB
crates/mipsy_web/.yarn/cache/playwright-core-npm-1.37.1-2c4000290a-69f818da22.zip
Binary file not shown.
Binary file added
BIN
+5.56 KB
crates/mipsy_web/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip
Binary file not shown.
Binary file added
BIN
+45.3 KB
crates/mipsy_web/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip
Binary file not shown.
Binary file added
BIN
+14 KB
crates/mipsy_web/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip
Binary file not shown.
Binary file added
BIN
+7.55 KB
crates/mipsy_web/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip
Binary file not shown.
Binary file added
BIN
+11 KB
crates/mipsy_web/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip
Binary file not shown.
Binary file added
BIN
+13.9 KB
crates/mipsy_web/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip
Binary file not shown.
Binary file added
BIN
+39 KB
crates/mipsy_web/.yarn/cache/semver-npm-7.5.4-c4ad957fcd-12d8ad952f.zip
Binary file not shown.
Binary file added
BIN
+3.13 KB
crates/mipsy_web/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip
Binary file not shown.
Binary file added
BIN
+2.24 KB
crates/mipsy_web/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip
Binary file not shown.
Binary file added
BIN
+2.5 KB
crates/mipsy_web/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip
Binary file not shown.
Binary file added
BIN
+4.77 KB
crates/mipsy_web/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip
Binary file not shown.
Binary file added
BIN
+31.4 KB
crates/mipsy_web/.yarn/cache/signal-exit-npm-4.1.0-61fb957687-64c757b498.zip
Binary file not shown.
Binary file added
BIN
+26 KB
crates/mipsy_web/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip
Binary file not shown.
Binary file added
BIN
+42.9 KB
crates/mipsy_web/.yarn/cache/socks-npm-2.7.1-17f2b53052-259d9e3e8e.zip
Binary file not shown.
Binary file added
BIN
+8.43 KB
crates/mipsy_web/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip
Binary file not shown.
Binary file added
BIN
+12.3 KB
crates/mipsy_web/.yarn/cache/ssri-npm-10.0.5-1a7557d04d-0a31b65f21.zip
Binary file not shown.
Binary file added
BIN
+3.52 KB
crates/mipsy_web/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip
Binary file not shown.
Binary file added
BIN
+3.8 KB
crates/mipsy_web/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip
Binary file not shown.
Binary file added
BIN
+5.94 KB
crates/mipsy_web/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip
Binary file not shown.
Binary file added
BIN
+2.98 KB
crates/mipsy_web/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip
Binary file not shown.
Binary file added
BIN
+3.17 KB
crates/mipsy_web/.yarn/cache/strip-ansi-npm-7.1.0-7453b80b79-859c73fcf2.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.65 KB
crates/mipsy_web/.yarn/cache/unique-filename-npm-3.0.0-77d68e0a45-8e2f59b356.zip
Binary file not shown.
Binary file added
BIN
+2.34 KB
crates/mipsy_web/.yarn/cache/unique-slug-npm-4.0.0-e6b08f28aa-0884b58365.zip
Binary file not shown.
Binary file added
BIN
+3.89 KB
crates/mipsy_web/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip
Binary file not shown.
Binary file added
BIN
+5.58 KB
crates/mipsy_web/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip
Binary file not shown.
Binary file added
BIN
+2.69 KB
crates/mipsy_web/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip
Binary file not shown.
Binary file added
BIN
+4.98 KB
crates/mipsy_web/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip
Binary file not shown.
Binary file added
BIN
+5.74 KB
crates/mipsy_web/.yarn/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-371733296d.zip
Binary file not shown.
Binary file added
BIN
+2.29 KB
crates/mipsy_web/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip
Binary file not shown.
Binary file added
BIN
+5.24 KB
crates/mipsy_web/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.3.cjs |
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('matches snapshot', async ({ page }) => { | ||
await page.goto('http://localhost:8080/'); | ||
|
||
expect(await page.screenshot()).toMatchSnapshot('home.png'); | ||
|
||
}); | ||
|
||
test('get started link', async ({ page }) => { | ||
await page.goto('/'); | ||
|
||
// Click the get started link. | ||
await page.getByRole('link', { name: 'Get started' }).click(); | ||
|
||
// Expects page to have a heading with the name of Installation. | ||
await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible(); | ||
}); |
Binary file added
BIN
+51.6 KB
crates/mipsy_web/e2e_tests/home.spec.ts-snapshots/home-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.4 KB
crates/mipsy_web/e2e_tests/home.spec.ts-snapshots/home-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
// a basic test that runs a file | ||
// checks the output | ||
// and checks that decompiled/data tabs are correct | ||
test('basic_running', async ({ page }) => { | ||
await page.goto('http://localhost:8080/'); | ||
await page.getByText('Load', { exact: true }).click(); | ||
await page.getByText('Load', { exact: true }).setInputFiles('../../../test_files/success/print10.s'); | ||
// file loaded correctly | ||
// check editor has a main and a loop label | ||
page.getByText('main:', { exact: true }); | ||
page.getByText('loop:', { exact: true }); | ||
|
||
// click the save button | ||
await page.getByRole('button', { name: 'Save' }).click(); | ||
// wait for run button to be enabled | ||
await page.waitForSelector('#run_button:not([disabled])'); | ||
|
||
// check decompiled tab contains 28 rows of instructions | ||
await page.getByRole('button', { name: 'decompiled' }).click(); | ||
page.getByText('0x00400004 [0x34010005] ori $at, $zero, 5 ; [8] bge $s0, 5, end # if (i >= 5) goto end;', { exact: true }); | ||
|
||
// check data tab is empty | ||
await page.getByRole('button', { name: 'data' }).click(); | ||
const data_output_div = page.locator('#data_output'); | ||
expect(await data_output_div.innerText()).toStrictEqual(""); | ||
|
||
// run the program | ||
await page.getByRole('button', { name: 'Run' }).click(); | ||
const program_io_output = page.locator('#program_io_output').nth(0); | ||
|
||
program_io_output.getByText('3\n9\n27\n81\n243', { exact: true }); | ||
|
||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "mipsy_web", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@playwright/test": "^1.37.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import { defineConfig, devices } from '@playwright/test'; | ||
|
||
/** | ||
* Read environment variables from file. | ||
* https://github.com/motdotla/dotenv | ||
*/ | ||
// require('dotenv').config(); | ||
|
||
/** | ||
* See https://playwright.dev/docs/test-configuration. | ||
*/ | ||
export default defineConfig({ | ||
testDir: './e2e_tests', | ||
/* Run tests in files in parallel */ | ||
fullyParallel: true, | ||
/* Fail the build on CI if you accidentally left test.only in the source code. */ | ||
forbidOnly: !!process.env.CI, | ||
/* Retry on CI only */ | ||
retries: process.env.CI ? 2 : 0, | ||
/* Opt out of parallel tests on CI. */ | ||
workers: process.env.CI ? 1 : undefined, | ||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */ | ||
reporter: 'html', | ||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ | ||
use: { | ||
/* Base URL to use in actions like `await page.goto('/')`. */ | ||
baseURL: 'http://127.0.0.1:8080', | ||
|
||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ | ||
trace: 'on-first-retry', | ||
}, | ||
|
||
/* Configure projects for major browsers */ | ||
projects: [ | ||
{ | ||
name: 'chromium', | ||
use: { ...devices['Desktop Chrome'] }, | ||
}, | ||
|
||
{ | ||
name: 'firefox', | ||
use: { ...devices['Desktop Firefox'] }, | ||
}, | ||
|
||
/* Test against mobile viewports. */ | ||
// { | ||
// name: 'Mobile Chrome', | ||
// use: { ...devices['Pixel 5'] }, | ||
// }, | ||
// { | ||
// name: 'Mobile Safari', | ||
// use: { ...devices['iPhone 12'] }, | ||
// }, | ||
|
||
/* Test against branded browsers. */ | ||
// { | ||
// name: 'Microsoft Edge', | ||
// use: { ...devices['Desktop Edge'], channel: 'msedge' }, | ||
// }, | ||
// { | ||
// name: 'Google Chrome', | ||
// use: { ...devices['Desktop Chrome'], channel: 'chrome' }, | ||
// }, | ||
], | ||
|
||
/* Run your local dev server before starting the tests */ | ||
webServer: { | ||
command: 'trunk serve', | ||
url: 'http://127.0.0.1:8080', | ||
reuseExistingServer: !process.env.CI, | ||
}, | ||
}); |
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
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
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
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
Oops, something went wrong.