-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete e2e Flutter driver intgration with screenshots of dark & lig…
…ht mode
- Loading branch information
Showing
78 changed files
with
1,204 additions
and
21 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
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,15 @@ | ||
/* | ||
This is probably the most horrible way to implement Platform Class for web. | ||
But at the time of building this app current library("universal_io:1.0.0") is not wroking with latest flutter master branch. 23/Feb/2020 | ||
BTW I did spent quite lot of time debugging the error but couldn't find a good solution. | ||
In the end it's what programming is about solving problems. | ||
*/ | ||
|
||
class Platform { | ||
static bool isWindows = false; | ||
static bool isLinux = false; | ||
static bool isMacOS = false; | ||
static bool isAndroid = false; | ||
static bool isFuchsia = false; | ||
static bool isIOS = false; | ||
} |
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 @@ | ||
export 'dart:io' if (dart.library.js) 'FakePlatform.dart' show Platform; |
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,5 @@ | ||
const String scope = "AboutDeveloperScreen"; | ||
|
||
abstract class AboutDeveloperTestKeys { | ||
static final String rootScroll = "$scope/rootScroll"; | ||
} |
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
const String scope = "HomeScreen"; | ||
|
||
abstract class HomeScreenTestKeys { | ||
static final String modalContinueBtn = "$scope/modalContinueBtn"; | ||
static final String uiListBtn = '$scope/uiListBtn'; | ||
static final String aboutBtn = '$scope/aboutBtn'; | ||
static final String aboutDeveloperBtn = '$scope/aboutDeveloperBtn'; | ||
static final String downloadBtn = '$scope/downloadBtn'; | ||
static final String settingsBtn = '$scope/settingsBtn'; | ||
abstract class HomeTestKeys { | ||
static final String drawerButton = "$scope/drawerButton"; | ||
static final String drawerCloseButton = "$scope/drawerCloseButton"; | ||
|
||
static final String searchButton = "$scope/searchButton"; | ||
|
||
static final String movieCardsBase = "$scope/movieCardsBase"; | ||
|
||
static getCard(int index) { | ||
return "$scope/movieCard$index"; | ||
} | ||
} |
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
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,6 @@ | ||
const String scope = "MovieDetailScreen"; | ||
|
||
abstract class MovieDetailTestKeys { | ||
static final String scrollBody = "$scope/scrollBody"; | ||
static final String selectSeats = "$scope/selectSeats"; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const String scope = "ReservationScreen"; | ||
|
||
abstract class ReservationTestKeys { | ||
static final String bookNow = "$scope/bookNow"; | ||
static final String ok = "$scope/ok"; | ||
static final String myMovies = "$scope/myMovies"; | ||
} |
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,20 @@ | ||
const String scope = "SelectSeatsScreen"; | ||
|
||
abstract class SelectSeatsTestKeys { | ||
static final String buyNow = "$scope/buyNow"; | ||
|
||
static String getDay(int index) { | ||
return "$scope/selectSeatsDay$index"; | ||
} | ||
|
||
static String getTime(int index) { | ||
return "$scope/selectSeatsTime$index"; | ||
} | ||
|
||
static String getSeat( | ||
int x, | ||
int y, | ||
) { | ||
return "$scope/selectSeats$x-$y"; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const String scope = "HeaderWidget"; | ||
|
||
abstract class HeaderWidgetKey { | ||
static final String backButton = "$scope/drawerButton"; | ||
} |
Oops, something went wrong.