Commit graph

176 commits

Author SHA1 Message Date
Gabe Kangas
58b6f82922
chore(tests): add readme note about remote host testing 2023-04-19 09:40:19 -07:00
Gabe Kangas
dae6c0c71a
chore: add local<->public test script 2023-04-18 18:04:57 -07:00
Gabe Kangas
ac7d655a14
Add additional test for testing failure after delete 2023-04-05 15:33:48 -07:00
Gabe Kangas
ef5dddc0ac
Disable lighthouse test to see if that fixes running under Github CI 2023-03-17 21:18:47 -07:00
Gabe Kangas
2fb9bf2fc9
Fix permission on shell script 2023-03-16 10:53:31 -07:00
Gabe Kangas
50f435bd5a
Fix s3 test errors 2023-03-16 10:51:00 -07:00
Gabe Kangas
1a5e9b496a
Split local and S3 HLS tests 2023-03-16 10:43:49 -07:00
Gabe Kangas
0aefe9faf5
Add some API paths to the auth test as well for completeness 2023-03-10 12:22:50 -08:00
Gabe Kangas
f7d84bc15b
Fix HTML scaffolding of admin pages rendering without auth. Closes #2789 2023-03-10 12:16:28 -08:00
Gabe Kangas
5b8bacb83f
Add chat embed automated browser tests. Closes #2743 2023-02-26 19:06:22 -08:00
Gabe Kangas
0c133053bb
Remove windows edge screenshots as it is no longer valid. See #2731 2023-02-26 12:36:26 -08:00
Gabe Kangas
7d288365b4
Add Android landscape screenshots 2023-02-12 14:55:49 -08:00
Gabe Kangas
b528d4981f
Linter warnings 2023-02-11 18:59:11 -08:00
Gabe Kangas
de534632cd
Run nightly automated screenshots. Closes #2699 2023-02-11 18:41:31 -08:00
dependabot[bot]
363bc78ac6
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/load (#2664)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 19:07:09 -08:00
dependabot[bot]
c31d0e6ad1
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /test/automated/browser (#2663)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 19:06:30 -08:00
Gabe Kangas
663c192b06
Make shellcheck happy 2023-01-26 15:25:52 -08:00
Gabe Kangas
3a7f452854
Merge remote-tracking branch 'origin/develop' into webv2 2023-01-24 23:19:02 -08:00
dependabot[bot]
f75aecdd7d
Bump cookiejar from 2.1.2 to 2.1.4 in /test/automated/api (#2618)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 22:36:51 -08:00
Gabe Kangas
e9aa02c149
Tweak default page content 2023-01-23 20:50:54 -08:00
Gabe Kangas
f1fc3b41c7
Temporarily re-disable S3-based tests 2023-01-22 21:38:51 -08:00
Gabe Kangas
57beaacd2c
Allow HLS test to wait for stream changes 2023-01-22 21:07:49 -08:00
Gabe Kangas
748219d93e
Use a random number instead of hard coded in test 2023-01-22 20:43:01 -08:00
Meisam
96f2015fbf
silence skipped clean-up inside the container (#2608) 2023-01-22 13:56:44 -08:00
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604 2023-01-18 22:38:24 -08:00
Gabe Kangas
44fe52fc5a
Make the public dir live inside data to make volume mounting easier 2023-01-17 17:04:07 -08:00
Gabe Kangas
59b7f6dcbf
Completely give up on setting a performance threshold until it can be addressed in #2167 2023-01-13 15:12:04 -08:00
Meisam
dd72879d09
Fix HLS automatic test (#2572)
* mv automated test cleanup to tools.sh

check media file exists before streaming in test/ocTestStream.sh
fix automatic test ffmpeg detection
mv trap to tools
mv update_storage_config() to tools
enable S3 test

* fix video file check in test/ocTestStream.sh

* cleanup ci

* mv auto test owncast build-run to start_owncast()

* suppress cleanup errors

* fix style

* fix Browser Test paths

* use pull_request event for Browser Tests

* explicitly mention when test is skipped

* refactor shell scripts
2023-01-11 20:11:13 -08:00
Gabe Kangas
03217d36df
Disable the second half of the test due to #2571 2023-01-10 21:31:27 -08:00
Meisam
64d3c37fb2
improve stream testing script (#2549)
* merge testContent.sh into ocContent.sh

* detect ffmpeg

ffmpeg or ffmpeg.exe in path, current dir, or parent dir

* use ocTestStream in api test

* enable verbose logging for api tests

* log ffmpeg version

* change ffmpeg lookup order

* set path properly for using the local ffmpeg

* rm double space from transcoder error logs

* update tests for new video stream

do not test bitrate

* set test stream target to 127.0.0.1

* log ffmpeg path

* update ffmpeg to v4.4.1

* improve logs

* fix ffmpeg installer script

* fix api test runner

* fix logs

* install fonts

* cleanup

* use ocTestStream.sh for all automated tests

* cleanup ocTestStream.sh

* cleanup test/automated/hls/run.sh

* Fix misspell

* fix ffmpeg installer in automated test runners

* spell fix

* cleanup script

* rev quick api tests

* cleanup tmp paths properly in automated tests

* rm unused ffmpeg package

* cleanup

* fix s3 test

* cache ffmpeg bin for automated tests

* shellcheck allow source

* rm missplaced file if backup fails

* use ffmpeg full path

* set lookup path for shellcheck
2023-01-10 18:50:32 -08:00
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build 2023-01-10 16:39:20 -08:00
Gabe Kangas
a9cf9d08f7
Merge remote-tracking branch 'origin/develop' into webv2 2023-01-09 13:07:45 -08:00
Gabe Kangas
1fbe89d703
Reduce SEO score and file issue to improve. #2565 2023-01-08 20:32:22 -08:00
Gabe Kangas
a3ea88a5b9
Lower performance threshold even lower because everything is awful 2023-01-08 17:00:13 -08:00
Gabe Kangas
40c7d30c2e
Lower performance threshold until can be figured out 2023-01-05 02:35:55 -08:00
Gabe Kangas
3620c2eb7d
Fix lint warnings 2023-01-04 22:25:51 -08:00
Gabe Kangas
80ab351cbe
Add performance testing to Cypress results 2023-01-04 22:18:21 -08:00
gabek
e59ac558c5 Prettified Code! 2023-01-04 22:25:02 +00:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script (#2525)"
This reverts commit e748d8f765.
2023-01-04 14:22:55 -08:00
Meisam
e748d8f765
improve stream testing script (#2525)
* merge testContent.sh into ocContent.sh

* detect ffmpeg

ffmpeg or ffmpeg.exe in path, current dir, or parent dir

* use ocTestStream in api test

* enable verbose logging for api tests

* log ffmpeg version

* change ffmpeg lookup order

* set path properly for using the local ffmpeg

* rm double space from transcoder error logs

* update tests for new video stream

do not test bitrate

* set test stream target to 127.0.0.1

* log ffmpeg path

* update ffmpeg to v4.4.1

* improve logs

* fix ffmpeg installer script

* fix api test runner

* fix logs

* install fonts

* cleanup

* use ocTestStream.sh for all automated tests

* cleanup ocTestStream.sh

* cleanup test/automated/hls/run.sh

* Fix misspell

* fix ffmpeg installer in automated test runners

* spell fix

* cleanup script

* rev quick api tests

* cleanup tmp paths properly in automated tests

* rm unused ffmpeg package

* cleanup
2023-01-04 14:12:05 -08:00
Meisam
dad5b28cc5
use randomString/Number from lib in api tests (#2542) 2023-01-04 14:09:51 -08:00
dependabot[bot]
e1d47d3507
Bump json5 from 2.2.0 to 2.2.2 in /test/automated/browser (#2535)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:09:02 -08:00
dependabot[bot]
0870b71b62
Bump json5 from 2.1.3 to 2.2.2 in /test/automated/api (#2536)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:08:42 -08:00
dependabot[bot]
0c0f8d9312
Bump json5 from 2.1.3 to 2.2.2 in /test/automated/hls (#2537)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:08:24 -08:00
Meisam
db3e20b480
cleanup test/automated/api/publicstatic.test.js (#2533) 2022-12-31 15:10:31 -08:00
Gabe Kangas
533d33847c
Hide disabled features (#2473)
* Hide/show on notify and fediverse feature disable/enable

* Update browser tests to enable features for testing

* Hide/show features in mobile action menu

* Do not show fediauth option if fediverse features are not enabled.

* Force showing tabs when in Storybook
2022-12-29 16:26:04 -08:00
Meisam
c74d5b4f31
add shellcheck to CI (#2478)
* add shellcheck to ci

* test ci

* install bash for shellcheck

* set globstar for bash

* cleanup shell scripts

* do not ignore automated hls tests

* rm legacy build script

* update shell scripts

* cleanup ci

* Fix misspell

* cleanup ci

* fail on curl error in ci
2022-12-25 19:17:13 -08:00
Gabe Kangas
543d8f258f
Check offline banner values before scrolling in browser test 2022-12-21 17:36:11 -08:00
Gabe Kangas
2d4e53ce4b
Update text to reflect new text 2022-12-15 21:45:46 -08:00
Gabe Kangas
0d1684c1e0
Merge remote-tracking branch 'origin/develop' into webv2 2022-12-15 12:07:09 -08:00