Skip to content

Commit

Permalink
more ss
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Shapiro committed Jan 5, 2016
1 parent 9ea262d commit c342c67
Show file tree
Hide file tree
Showing 31 changed files with 319 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Modules/WGW_Explore/Views/WGWExploreToolbarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ - (void)_setup_views
view.placeholder = NSLocalizedString(@"What goes with…?", nil);

view.clearButtonMode = UITextFieldViewModeNever;
view.autocorrectionType = UITextAutocorrectionTypeNo;
view.autocapitalizationType = UITextAutocapitalizationTypeNone;

view.returnKeyType = UIReturnKeyDone;

Expand Down
39 changes: 38 additions & 1 deletion Whatgoeswith_UITests/Whatgoeswith_UITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,47 @@ class Whatgoeswith_UITests: XCTestCase

func test_01_onboarding()
{
sleep(2); // wait for banner to pop; we're assuming this was a fresh install
sleep(3); // wait for banner to pop; we're assuming this was a fresh install; wait for images to be downloaded

snapshot("01_Onboarding")
}

func test_02_search1()
{
let whatGoesWithTextField = XCUIApplication().textFields["What goes with\u{2026}?"]
whatGoesWithTextField.tap()
whatGoesWithTextField.typeText("bonito flakes")

sleep(3); // wait for images to be downloaded

snapshot("02_Search1")
}

func test_03_search2()
{

let whatGoesWithTextField = XCUIApplication().textFields["What goes with\u{2026}?"]
whatGoesWithTextField.tap()
whatGoesWithTextField.typeText("linguine, parmesan cheese, tuna, olive oil")

sleep(1); // wait for images to be downloaded

XCUIApplication().collectionViews.staticTexts["garlic"].pressForDuration(1.4);

sleep(2); // wait for action sheet

snapshot("02_Dinner")
}

func test_03_search3()
{
let whatGoesWithTextField = XCUIApplication().textFields["What goes with\u{2026}?"]
whatGoesWithTextField.tap()
whatGoesWithTextField.typeText("gin, vodka, kina lillet, lemon peel")

sleep(3); // wait for images to be downloaded

snapshot("02_Mixologist")
}

}
7 changes: 7 additions & 0 deletions bin/generate_ITC_screenshots
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

snapshot &&

cd ./screenshots &&

frameit silver
5 changes: 5 additions & 0 deletions bin/rebuild_simulator_devices
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

killall Xcode ;

SNAPSHOT_FORCE_DELETE=YES snapshot reset_simulators
Binary file modified screenshots/en-US/iPadPro-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPadPro-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPadPro-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPadPro-02_Search1_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPadRetina-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPadRetina-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPadRetina-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone4s-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone4s-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone4s-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone4s-02_Search1_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone5-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone5-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone5-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone5-02_Search1_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone6-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone6-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone6-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone6-02_Search1_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone6Plus-01_Onboarding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/iPhone6Plus-01_Onboarding_framed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/en-US/iPhone6Plus-02_Search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/en-US/keyword.strings
Binary file not shown.
Binary file modified screenshots/en-US/title.strings
Binary file not shown.
Loading

0 comments on commit c342c67

Please sign in to comment.