diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cf6c5d44..4f72edf23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.3.15] - 2024.06.22 - c8f0f2c2b16b9f0b4b47d40f7bf29058c7baa68e +## [0.3.16] - 2024.07.10 +### Added +- Photos on more screens +### Fixed +- Share of a photo, including sharing a photo from webkit/Safari which never worked +### Changed in DB or environment +- Nothing (though there's a new temp field in IndexedDB) + + +## [0.3.15] - 2024.08.04 - c8f0f2c2b16b9f0b4b47d40f7bf29058c7baa68e ### Added - Edit gives - Page to edit claim JSON before submitting diff --git a/README.md b/README.md index 92ba190de..c4350bc0b 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,7 @@ npm run build ### Automated -Using the global test Endorser (ledger) server: -`npx playwright test` - -Using the locally running Endorser server: +Use the locally running Endorser server: * Clone and set up https://github.com/trentlarson/endorser-ch and run the following in that directory: ``` @@ -82,7 +79,23 @@ test/test.sh NODE_ENV=test-local npm run dev ``` -Alternatively, you can run the following which starts with the bare minimum test data: +* Now run the local tests: +``` +npm run test-all +``` + +Note that a test will sometimes fail and rerunning may succeed (and repeat if a different test fails). + + + + +It's possible to use the global test Endorser (ledger) server (but currently the tests don't all succeed): +`npx playwright test` + + + + +It's possible to run with a minimal set of data: the following starts with the bare minimum of test data (but currently the tests don't all succeed): ``` rm ../endorser-ch-test-local.sqlite3 NODE_ENV=test-local npm run flyway migrate @@ -91,11 +104,6 @@ NODE_ENV=test-local npm run dev ``` -* Now run the local tests: -``` -npx playwright test -c playwright.config-local.ts -``` - ### Register new user on test server On the test server, User #0 has rights to register others, so you can start diff --git a/package-lock.json b/package-lock.json index 165053a6d..d3e1ef964 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "TimeSafari", - "version": "0.3.16-beta", + "version": "0.3.17-beta", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "TimeSafari", - "version": "0.3.16-beta", + "version": "0.3.17-beta", "dependencies": { "@dicebear/collection": "^5.4.1", "@dicebear/core": "^5.4.1", diff --git a/package.json b/package.json index 6db0d6b0e..ffb4caed5 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,15 @@ { "name": "TimeSafari", - "version": "0.3.16-beta", + "version": "0.3.17-beta", "scripts": { "dev": "vite", "serve": "vite preview", "build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src", - "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.js" + "prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.js", + "test-local": "npx playwright test -c playwright.config-local.ts --trace on", + "test-all": "npm run build && npx playwright test -c playwright.config-local.ts --trace on" }, "dependencies": { "@dicebear/collection": "^5.4.1", diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index 7972dce1b..1d6ff2851 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -75,6 +75,11 @@ {{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }} +
+ + + +
@@ -131,33 +136,7 @@ -
- - - - - Confirmation Details... - - - +
-
-

Confirmations

+
+ +

Confirmations

+ + + + Details... + + +
+ Nobody has confirmed this. diff --git a/src/views/GiftedDetails.vue b/src/views/GiftedDetails.vue index 7658714ea..3e1466c5a 100644 --- a/src/views/GiftedDetails.vue +++ b/src/views/GiftedDetails.vue @@ -66,7 +66,7 @@ -
+
diff --git a/src/views/ProjectViewView.vue b/src/views/ProjectViewView.vue index 49c06f470..242960a25 100644 --- a/src/views/ProjectViewView.vue +++ b/src/views/ProjectViewView.vue @@ -345,6 +345,11 @@
+
+ + + +
diff --git a/test-playwright/00-noid-tests.spec.ts b/test-playwright/00-noid-tests.spec.ts index 7f2619dc8..12746ff39 100644 --- a/test-playwright/00-noid-tests.spec.ts +++ b/test-playwright/00-noid-tests.spec.ts @@ -1,6 +1,6 @@ import { test, expect } from '@playwright/test'; -test('Confirm usage of test API', async ({ page }, testInfo) => { +test('Confirm usage of test API (may fail if you are running your own Time Safari)', async ({ page }, testInfo) => { // Load account view await page.goto('./account'); await page.getByRole('heading', { name: 'Advanced' }).click(); diff --git a/test-playwright/40-add-contact.spec.ts b/test-playwright/40-add-contact.spec.ts index 204dbd97c..f6254745f 100644 --- a/test-playwright/40-add-contact.spec.ts +++ b/test-playwright/40-add-contact.spec.ts @@ -81,6 +81,5 @@ test('Add contact, record gift, confirm gift', async ({ page }) => { // Refresh claim page, Confirm button should be hidden await page.reload(); - await expect(page.getByRole('button', { name: 'Confirm' })).toBeVisible(); await expect(page.getByRole('button', { name: 'Confirm' })).toBeHidden(); }); \ No newline at end of file