weixin_39574868
weixin_39574868
2020-12-26 16:17

[Finishes #104747280] Asset upload UI test for App Lab

View the Sauce Labs session here: https://saucelabs.com/tests/30b7b4e0c37746fe958f7d0a6350283b

该提问来源于开源项目:code-dot-org/code-dot-org

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39627699 weixin_39627699 4月前

    LGTM! Have you tried it in all browsers yet?

    You can run a feature on all browsers with ./runner.rb -f <feature_file> -p 10 (do specify the feature, don't specify the browser, optionally specify ||-ness)

    点赞 评论 复制链接分享
  • weixin_39627699 weixin_39627699 4月前

    oh, and I noticed that it doesn't look like the image has loaded yet in the saucelabs log. Is there a way to check that a valid image loaded or that it is == to the one that was uploaded?

    点赞 评论 复制链接分享
  • weixin_39574868 weixin_39574868 4月前

    Is an eyes test the best way to verify the image that gets uploaded? The image does load, but the screenshot happened before the image finished loading.

    点赞 评论 复制链接分享
  • weixin_39574868 weixin_39574868 4月前

    Scenario passing against all applicable browsers on Sauce Labs:

    
    ./runner.rb -d localhost-studio.code.org:3000 -p localhost.code.org:3000 --html -f features/applab/scenarios.feature:63 --parallel 10
    UI tests for IE9Win7_applab_scenarios:63 skipped (1:01 minutes)
    UI tests for iPhone_applab_scenarios:63 skipped (1:01 minutes)
    UI tests for IE10Win7_applab_scenarios:63 skipped (1:02 minutes)
    UI tests for iPad_applab_scenarios:63 skipped (1:02 minutes)
    UI tests for SafariYosemite_applab_scenarios:63 skipped (1:02 minutes)
    UI tests for Firefox39Win7_applab_scenarios:63 succeeded (2:01 minutes, 1 passed)
    UI tests for Firefox38Yosemite_applab_scenarios:63 succeeded (2:19 minutes, 1 passed)
    UI tests for ChromeLatestWin7_applab_scenarios:63 succeeded (2:31 minutes, 1 passed)
    UI tests for Chrome44XP_applab_scenarios:63 succeeded (2:31 minutes, 1 passed)
    
    点赞 评论 复制链接分享
  • weixin_39627699 weixin_39627699 4月前

    LGTM!

    点赞 评论 复制链接分享

相关推荐