diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 57cf616..c04baea 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -374,7 +374,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 11; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = XF5UYMLH66; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -509,7 +509,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 11; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = XF5UYMLH66; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -537,7 +537,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 11; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = XF5UYMLH66; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a39814b..fb2dffc 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -15,7 +15,7 @@ @@ -31,7 +31,7 @@ @@ -54,7 +54,7 @@ @@ -71,7 +71,7 @@ diff --git a/screenshots.ios.yaml b/screenshots.ios.yaml new file mode 100644 index 0000000..adc6336 --- /dev/null +++ b/screenshots.ios.yaml @@ -0,0 +1,42 @@ +# Screen capture tests +# Note: flutter driver expects a pair of files eg, main.dart and main_test.dart +tests: + - test_driver/main.dart + +# Interim location of screenshots from tests before processing +staging: ./tmp/screenshots + +# A list of locales supported in app +locales: + - en + - fr + - de + - es + - hi + - id + - ja + - ko + - pt + - ru + - zh-CN + - zh-TW + - ar + +# A list of devices to run tests on +devices: + ios: +# iPhone Xs Max: +# orientation: +# - Portrait +# iPhone 8 Plus: +# orientation: +# - Portrait +# iPad Pro (12.9-inch) (3rd generation): +# orientation: +# - Portrait + iPad Pro (12.9-inch) (2nd generation): + orientation: + - Portrait + +# Frame screenshots +frame: true diff --git a/test_driver/main_test.dart b/test_driver/main_test.dart index 2629fcb..bb3ed32 100644 --- a/test_driver/main_test.dart +++ b/test_driver/main_test.dart @@ -20,7 +20,7 @@ void main() { SerializableFinder startTimerButton = find.byValueKey("startTimerButton"); await driver.waitFor(startTimerButton); - await screenshot(driver, config, 'dashboard'); + await screenshot(driver, config, '01 dashboard'); // then the timer details page String mockupsText = await driver.requestData("mockups"); @@ -30,7 +30,7 @@ void main() { SerializableFinder saveDetails = find.byValueKey("saveDetails"); await driver.waitFor(saveDetails); await driver.waitUntilNoTransientCallbacks(); - await screenshot(driver, config, 'editor'); + await screenshot(driver, config, '02 editor'); // then the projects page SerializableFinder closeButton = find.byType("CloseButton"); @@ -45,7 +45,7 @@ void main() { SerializableFinder addProject = find.byValueKey("addProject"); await driver.waitFor(addProject); await driver.waitUntilNoTransientCallbacks(); - await screenshot(driver, config, 'projects'); + await screenshot(driver, config, '03 projects'); // then the export page SerializableFinder backButton = find.byType("BackButton"); @@ -59,7 +59,7 @@ void main() { SerializableFinder exportFAB = find.byValueKey("exportFAB"); await driver.waitFor(exportFAB); await driver.waitUntilNoTransientCallbacks(); - await screenshot(driver, config, 'export'); + await screenshot(driver, config, '04 export'); // then the about page await driver.waitFor(backButton); @@ -72,7 +72,7 @@ void main() { SerializableFinder aboutPage = find.byValueKey("aboutPage"); await driver.waitFor(aboutPage); await driver.waitUntilNoTransientCallbacks(); - await screenshot(driver, config, 'about'); + await screenshot(driver, config, '05 about'); }, timeout: Timeout(Duration(seconds: 30))); }); -} \ No newline at end of file +}