Skip to content

Commit

Permalink
test(Screens): add golden tests for new screens
Browse files Browse the repository at this point in the history
* chore(Assets): add offline google fonts

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden test for home screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden test for login screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a global golden test config

Signed-off-by: arafaysaleem <[email protected]>

* chore(Gitignore): ignore windows generated golden pngs

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add shared mocks for auth provider

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for register screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): refactor golden tests for home and login screens

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): add a workflow to update goldens for new changes

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): update PR actions to new versions

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add comments to all golden tests

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): fix test folder path for ubuntu file system

Signed-off-by: arafaysaleem <[email protected]>

* ci(Actions): generate local goldens in different dir

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): add a comment to common_mocked_providers.dart

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* ci(Goldens): restrict generation to only if dart code updates

Signed-off-by: arafaysaleem <[email protected]>

* test(Screens): add golden tests for change password screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* test(Goldens): add golden tests for forgot password screen

Signed-off-by: arafaysaleem <[email protected]>

* test(Utils): add unit test for new form validator methods

Signed-off-by: arafaysaleem <[email protected]>

* test(Extensions): add unit tests for new otp extension

Signed-off-by: arafaysaleem <[email protected]>

* test(Goldens): update generated goldens for new changes

* ci(Goldens): don't run on view changes. Might generate incorrect UIs

Signed-off-by: arafaysaleem <[email protected]>

Co-authored-by: arafaysaleem <[email protected]>
  • Loading branch information
arafaysaleem and arafaysaleem authored Aug 16, 2021
1 parent c768267 commit 681df7e
Show file tree
Hide file tree
Showing 12 changed files with 3,920 additions and 1,769 deletions.
1 change: 0 additions & 1 deletion .github/workflows/PR-generate-goldens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches-ignore: [master, release, dev] # only run on feature branches
paths:
- '**/golden_tests/**.dart'
- '**/views/**'

workflow_dispatch:

Expand Down
Loading

0 comments on commit 681df7e

Please sign in to comment.