Skip to content

Commit af14a78

Browse files
Merge pull request #15 from bancolombia/feature/flows
Multiple screenshot support part 2
2 parents 07b6423 + bd5b7e8 commit af14a78

34 files changed

+653
-169
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ The main focus of this package is to compare either components or widgets agains
2525

2626
Let's start with an example of use case, consider the following design:
2727

28-
![Input image](assets/use-cases/insumo.png)
28+
![Input image](doc/images/use-cases/insumo.png)
2929

3030
Normally we need to schedule a review with someone of the design team to make a quality assurance, this could increase the time to market while waiting for that meeting. So, in solution to this problematic, we've come to the conclusion that we could use the **Golden Image Testing** but with a different approach.
3131

3232
So now consider the following image as the result of the development process:
3333

34-
![Development image](assets/use-cases/golden_image.png)
34+
![Development image](doc/images/use-cases/golden_image.png)
3535

3636
As you can see there are actually visual differences.
3737

@@ -76,8 +76,8 @@ The following are the windows configurations that are available in the package t
7676
Here are some examples of how are goldens rendered:
7777
| device | example |
7878
| ----- | ---- |
79-
| `iPhone 8` | <img src="assets/use-cases/home_page_iphone.png" alt="drawing" width="300"/>|
80-
| `iPad Pro` | ![iPad Pro image](assets/use-cases/home_page_ipad_pro.png)|
79+
| `iPhone 8` | <img src="doc/images/use-cases/home_page_iphone.png" alt="drawing" width="300"/>|
80+
| `iPad Pro` | ![iPad Pro image](doc/images/use-cases/home_page_ipad_pro.png)|
8181

8282

8383
## Custom Window Configuration
@@ -108,7 +108,7 @@ For testing accesibility there is a `textScaleFactor`parameter that will increas
108108

109109
| iPhone14 normal | iPhone14 with text scale factor |
110110
| ----- | ---- |
111-
| <img src="assets/use-cases/home_page_iphone.png" alt="drawing" width="300"/> | <img src="assets/use-cases/home_page_iphone_text_scale_factor.png" alt="drawing" width="300"/> |
111+
| <img src="doc/images/use-cases/home_page_iphone.png" alt="drawing" width="300"/> | <img src="doc/images/use-cases/home_page_iphone_text_scale_factor.png" alt="drawing" width="300"/> |
112112

113113

114114

dartdoc_options.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dartdoc:
2+
categories:
3+
Configuration:
4+
markdown: doc/configuration.md
5+
displayName: Configuration
6+
categoryOrder: [configuration]

doc/configuration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Configuration
2+
3+
In this section you can find all the classes related to the configuration of the package.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/coverage/lcov.info

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SF:lib/src/presentation/home/home_page.dart
2+
DA:6,1
3+
DA:13,1
4+
DA:14,1
5+
DA:18,1
6+
DA:20,1
7+
DA:21,1
8+
DA:22,1
9+
DA:23,2
10+
LF:8
11+
LH:8
12+
end_of_record
13+
SF:lib/src/presentation/home/widgets/button_widget.dart
14+
DA:4,1
15+
DA:6,1
16+
DA:8,1
17+
DA:9,2
18+
DA:10,0
19+
LF:5
20+
LH:4
21+
end_of_record
22+
SF:lib/src/presentation/home/widgets/image_loader_widget.dart
23+
DA:4,1
24+
DA:6,1
25+
DA:8,1
26+
LF:3
27+
LH:3
28+
end_of_record
39 KB
Loading

0 commit comments

Comments
 (0)