Skip to content

Instantly share code, notes, and snippets.

@mstriemer
Last active August 29, 2015 14:17
Show Gist options
  • Save mstriemer/f85b2a585f6cf6612d99 to your computer and use it in GitHub Desktop.
Save mstriemer/f85b2a585f6cf6612d99 to your computer and use it in GitHub Desktop.
Running under SlimerJS
Version: 0.10.0
Test file: tests/ui/app_list.js
# New page app list main tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# New failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# New page app list model cache test
Starting test
Opening http://localhost:8675/new
TEARDOWN
# New page app list expand toggle
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# New page app list load more
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","sort":"reviewed","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us","sort":"reviewed","vary":"0"}
PASS API call was made
app-136879,app-136880,app-136881,app-136882,app-136883,app-136884,app-136885,app-136886,app-136887,app-136888,app-136889,app-136890,app-136891,app-136892,app-136893,app-136894,app-136895,app-136896,app-136897,app-136898,app-136899,app-136900,app-136901,app-136902,app-136903,app-136904,app-136905,app-136906,app-136907,app-136908,app-136909,app-136910,app-136911,app-136912,app-136913,app-136914,app-136915,app-136916,app-136917,app-136918,app-136919,app-136920
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# New page pagination rewrite tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# New mobile previews tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# New desktop previews tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# New app install tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Popular page app list main tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Popular failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Popular page app list model cache test
Starting test
Opening http://localhost:8675/popular
TEARDOWN
# Popular page app list expand toggle
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Popular page app list load more
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us","vary":"0"}
PASS API call was made
app-137479,app-137480,app-137481,app-137482,app-137483,app-137484,app-137485,app-137486,app-137487,app-137488,app-137489,app-137490,app-137491,app-137492,app-137493,app-137494,app-137495,app-137496,app-137497,app-137498,app-137499,app-137500,app-137501,app-137502,app-137503,app-137504,app-137505,app-137506,app-137507,app-137508,app-137509,app-137510,app-137511,app-137512,app-137513,app-137514,app-137515,app-137516,app-137517,app-137518,app-137519,app-137520
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Popular page pagination rewrite tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Popular mobile previews tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Popular desktop previews tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Popular app install tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Recommended page app list main tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Recommended failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Recommended page app list model cache test
Starting test
Opening http://localhost:8675/recommended
TEARDOWN
# Recommended page app list expand toggle
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Recommended page app list load more
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","lang":"en-US","region":"us","limit":"24","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us"}
PASS API call was made
app-138079,app-138080,app-138081,app-138082,app-138083,app-138084,app-138085,app-138086,app-138087,app-138088,app-138089,app-138090,app-138091,app-138092,app-138093,app-138094,app-138095,app-138096,app-138097,app-138098,app-138099,app-138100,app-138101,app-138102,app-138103,app-138104,app-138105,app-138106,app-138107,app-138108,app-138109,app-138110,app-138111,app-138112,app-138113,app-138114,app-138115,app-138116,app-138117,app-138118,app-138119,app-138120
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Recommended page pagination rewrite tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Recommended mobile previews tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Recommended desktop previews tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Recommended app install tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Search page app list main tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Search failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Search page app list model cache test
Starting test
Opening http://localhost:8675/search?q=games
TEARDOWN
# Search page app list expand toggle
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Search page app list load more
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","q":"games","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","q":"games","region":"us","vary":"0"}
PASS API call was made
app-138679,app-138680,app-138681,app-138682,app-138683,app-138684,app-138685,app-138686,app-138687,app-138688,app-138689,app-138690,app-138691,app-138692,app-138693,app-138694,app-138695,app-138696,app-138697,app-138698,app-138699,app-138700,app-138701,app-138702,app-138703,app-138704,app-138705,app-138706,app-138707,app-138708,app-138709,app-138710,app-138711,app-138712,app-138713,app-138714,app-138715,app-138716,app-138717,app-138718,app-138719,app-138720
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Search page pagination rewrite tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Search mobile previews tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Search desktop previews tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Search app install tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Category page app list main tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Category failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Category page app list model cache test
Starting test
Opening http://localhost:8675/category/games
TEARDOWN
# Category page app list expand toggle
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Category page app list load more
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","cat":"games","offset":"24"}
{"cache":"1","cat":"games","lang":"en-US","limit":"24","region":"us","vary":"0"}
PASS API call was made
app-139279,app-139280,app-139281,app-139282,app-139283,app-139284,app-139285,app-139286,app-139287,app-139288,app-139289,app-139290,app-139291,app-139292,app-139293,app-139294,app-139295,app-139296,app-139297,app-139298,app-139299,app-139300,app-139301,app-139302,app-139303,app-139304,app-139305,app-139306,app-139307,app-139308,app-139309,app-139310,app-139311,app-139312,app-139313,app-139314,app-139315,app-139316,app-139317,app-139318,app-139319,app-139320
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Category page pagination rewrite tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Category mobile previews tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Category desktop previews tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Category app install tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Purchases page app list main tests
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Purchases failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Purchases page app list model cache test
Starting test
Opening http://localhost:8675/purchases
TEARDOWN
# Purchases page app list expand toggle
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Purchases page app list load more
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
API url param mismatch:
{"lang":"en-US","region":"us","limit":"24","_user":"mocktoken","offset":"24"}
{"_user":"mocktoken","lang":"en-US","limit":"24","region":"us"}
PASS API call was made
app-139879,app-139880,app-139881,app-139882,app-139883,app-139884,app-139885,app-139886,app-139887,app-139888,app-139889,app-139890,app-139891,app-139892,app-139893,app-139894,app-139895,app-139896,app-139897,app-139898,app-139899,app-139900,app-139901,app-139902,app-139903,app-139904,app-139905,app-139906,app-139907,app-139908,app-139909,app-139910,app-139911,app-139912,app-139913,app-139914,app-139915,app-139916,app-139917,app-139918,app-139919,app-139920
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Purchases page pagination rewrite tests
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Purchases mobile previews tests
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Purchases desktop previews tests
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Purchases app install tests
Starting test
Opening http://localhost:8675/purchases
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Collection page app list main tests
Starting test
Opening http://localhost:8675/feed/collection/top-games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(5)
PASS Fail to find element matching selector: .app-list-app:nth-child(7)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Collection failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Collection page app list model cache test
Starting test
Opening http://localhost:8675/feed/collection/top-games
TEARDOWN
# Collection app install tests
Starting test
Opening http://localhost:8675/feed/collection/top-games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Brand page app list main tests
Starting test
Opening http://localhost:8675/feed/editorial/fun-games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(5)
PASS Fail to find element matching selector: .app-list-app:nth-child(7)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Brand failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Brand page app list model cache test
Starting test
Opening http://localhost:8675/feed/editorial/fun-games
TEARDOWN
# Brand app install tests
Starting test
Opening http://localhost:8675/feed/editorial/fun-games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Shelf page app list main tests
Starting test
Opening http://localhost:8675/feed/shelf/telefonica-games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(5)
PASS Fail to find element matching selector: .app-list-app:nth-child(7)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Shelf failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Shelf page app list model cache test
Starting test
Opening http://localhost:8675/feed/shelf/telefonica-games
TEARDOWN
# Shelf app install tests
Starting test
Opening http://localhost:8675/feed/shelf/telefonica-games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Langpacks page app list main tests
Starting test
Opening http://localhost:8675/langpacks/2.2
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert href is empty
PASS Fail to find element matching selector: .mkt-tile .author a
HELPERS.DONE()
TEARDOWN
# Langpacks failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
FORCING casper.test.done()
TEARDOWN
# Langpacks page app list load more
Starting test
Opening http://localhost:8675/langpacks/2.2
TEARDOWN
# Langpacks page pagination rewrite tests
Starting test
Opening http://localhost:8675/langpacks/2.2
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Test collection detail page for app tile expanded state.
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Fail to find element matching selector: .app-list.expanded
PASS Fail to find element matching selector: .previews-tray
HELPERS.DONE()
TEARDOWN
HELPERS.DONE()
TEARDOWN
HELPERS.DONE()
TEARDOWN
HELPERS.DONE()
TEARDOWN
HELPERS.DONE()
TEARDOWN
HELPERS.DONE()
TEARDOWN
FAIL 218 tests executed in 82.701s, 208 passed, 10 failed, 0 dubious, 0 skipped.
Details for the 10 failed tests:
In tests/ui/app_list.js
New failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Popular failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Recommended failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Search failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Category failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Purchases failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Collection failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Brand failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Shelf failing test
assert: Subject is strictly true
In tests/ui/app_list.js
Langpacks failing test
assert: Subject is strictly true
HELPERS.DONE()
TEARDOWN
FAIL Error: WebPage not opened
# type: uncaughtError
# file: tests/ui/app_list.js
# error: {}
# stack: not provided
HELPERS.DONE()
TEARDOWN
FAIL Error: WebPage not opened
# type: uncaughtError
# file: tests/ui/app_list.js
# error: {}
# stack: not provided
HELPERS.DONE()
TEARDOWN
FAIL Error: WebPage not opened
# type: uncaughtError
# file: tests/ui/app_list.js
# error: {}
# stack: not provided
HELPERS.DONE()
TEARDOWN
FAIL Error: WebPage not opened
# type: uncaughtError
# file: tests/ui/app_list.js
# error: {}
# stack: not provided
make: *** [uitest-slimer] Error 1
diff --git a/tests/lib/helpers.js b/tests/lib/helpers.js
index f4a96d6..801949c 100644
--- a/tests/lib/helpers.js
+++ b/tests/lib/helpers.js
@@ -9,6 +9,7 @@ var baseTestUrl = 'http://localhost:8675';
var mobileViewportSize = [320, 480];
var viewportSize = mobileViewportSize;
var pageAlreadyLoaded = false;
+var running;
var _currTestId;
casper.on('viewport.changed', function(dimensions) {
@@ -109,6 +110,8 @@ function startCasper(path, opts) {
function done(test) {
casper.run(function() {
+ console.log('HELPERS.DONE()');
+ running = false;
test.done();
});
}
@@ -360,11 +363,18 @@ function setViewport() {
casper.test.setUp(function() {
pageAlreadyLoaded = false;
+ running = true;
casper.start();
});
function tearDown() {
+ if (running) {
+ running = false;
+ console.log('FORCING casper.test.done()');
+ casper.test.done();
+ }
+ console.log('TEARDOWN');
viewportSize = mobileViewportSize;
clearLocalStorage();
}
diff --git a/tests/ui/app_list.js b/tests/ui/app_list.js
index 5cf0302..c2bfa3d 100644
--- a/tests/ui/app_list.js
+++ b/tests/ui/app_list.js
@@ -61,6 +61,16 @@ appList.appListPages.forEach(function(appListPage) {
}
});
+ casper.test.begin(appListPage.name + ' failing test', {
+ test: function(test) {
+ helpers.startCasper();
+
+ test.assert(false);
+
+ helpers.done(test);
+ },
+ });
+
if (!appListPage.noModelCache) {
casper.test.begin(appListPage.name + ' page app list model cache test', {
test: function(test) {
Running under SlimerJS
Version: 0.10.0
Test file: tests/ui/app_list.js
# New page app list main tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# New failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
TEARDOWN
# New page app list model cache test
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Assert model cache
HELPERS.DONE()
TEARDOWN
# New page app list expand toggle
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# New page app list load more
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","sort":"reviewed","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us","sort":"reviewed","vary":"0"}
PASS API call was made
app-133806,app-133807,app-133808,app-133809,app-133810,app-133811,app-133812,app-133813,app-133814,app-133815,app-133816,app-133817,app-133818,app-133819,app-133820,app-133821,app-133822,app-133823,app-133824,app-133825,app-133826,app-133827,app-133828,app-133829,app-133830,app-133831,app-133832,app-133833,app-133834,app-133835,app-133836,app-133837,app-133838,app-133839,app-133840,app-133841,app-133842,app-133843,app-133844,app-133845,app-133846,app-133847
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# New page pagination rewrite tests
Starting test
Opening http://localhost:8675/new
[JavaScript Error: "Error: Script error
http://requirejs.org/docs/errors.html#scripterror" {file: "http://localhost:8675/media/js/lib/require.js" line: 159}]
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# New mobile previews tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# New desktop previews tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# New app install tests
Starting test
Opening http://localhost:8675/new
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Popular page app list main tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Popular failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
TEARDOWN
# Popular page app list model cache test
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Assert model cache
HELPERS.DONE()
TEARDOWN
# Popular page app list expand toggle
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Popular page app list load more
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us","vary":"0"}
PASS API call was made
app-134430,app-134431,app-134432,app-134433,app-134434,app-134435,app-134436,app-134437,app-134438,app-134439,app-134440,app-134441,app-134442,app-134443,app-134444,app-134445,app-134446,app-134447,app-134448,app-134449,app-134450,app-134451,app-134452,app-134453,app-134454,app-134455,app-134456,app-134457,app-134458,app-134459,app-134460,app-134461,app-134462,app-134463,app-134464,app-134465,app-134466,app-134467,app-134468,app-134469,app-134470,app-134471
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Popular page pagination rewrite tests
Starting test
Opening http://localhost:8675/popular
[JavaScript Error: "Error: Script error
http://requirejs.org/docs/errors.html#scripterror" {file: "http://localhost:8675/media/js/lib/require.js" line: 159}]
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Popular mobile previews tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Popular desktop previews tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Popular app install tests
Starting test
Opening http://localhost:8675/popular
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Recommended page app list main tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Recommended failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
TEARDOWN
# Recommended page app list model cache test
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Assert model cache
HELPERS.DONE()
TEARDOWN
# Recommended page app list expand toggle
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Recommended page app list load more
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","lang":"en-US","region":"us","limit":"24","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","region":"us"}
PASS API call was made
app-135054,app-135055,app-135056,app-135057,app-135058,app-135059,app-135060,app-135061,app-135062,app-135063,app-135064,app-135065,app-135066,app-135067,app-135068,app-135069,app-135070,app-135071,app-135072,app-135073,app-135074,app-135075,app-135076,app-135077,app-135078,app-135079,app-135080,app-135081,app-135082,app-135083,app-135084,app-135085,app-135086,app-135087,app-135088,app-135089,app-135090,app-135091,app-135092,app-135093,app-135094,app-135095
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Recommended page pagination rewrite tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Recommended mobile previews tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Recommended desktop previews tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Recommended app install tests
Starting test
Opening http://localhost:8675/recommended
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Search page app list main tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Search failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
TEARDOWN
# Search page app list model cache test
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Assert model cache
HELPERS.DONE()
TEARDOWN
# Search page app list expand toggle
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Search page app list load more
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","q":"games","offset":"24"}
{"cache":"1","lang":"en-US","limit":"24","q":"games","region":"us","vary":"0"}
PASS API call was made
app-135678,app-135679,app-135680,app-135681,app-135682,app-135683,app-135684,app-135685,app-135686,app-135687,app-135688,app-135689,app-135690,app-135691,app-135692,app-135693,app-135694,app-135695,app-135696,app-135697,app-135698,app-135699,app-135700,app-135701,app-135702,app-135703,app-135704,app-135705,app-135706,app-135707,app-135708,app-135709,app-135710,app-135711,app-135712,app-135713,app-135714,app-135715,app-135716,app-135717,app-135718,app-135719
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Search page pagination rewrite tests
Starting test
Opening http://localhost:8675/search?q=games
[JavaScript Error: "Error: Script error
http://requirejs.org/docs/errors.html#scripterror" {file: "http://localhost:8675/media/js/lib/require.js" line: 159}]
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Search mobile previews tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Selector is visible
PASS Selector is not visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Search desktop previews tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 1050x768
PASS Selector is visible
PASS Selector is visible
PASS Selector is visible
PASS Find an element matching: .app-list:not(.expanded)
PASS Selector is not visible
HELPERS.DONE()
TEARDOWN
# Search app install tests
Starting test
Opening http://localhost:8675/search?q=games
Viewport dimensions changed to: 320x480
PASS Find "Open" within the selector ".app-list-app:first-child .install"
HELPERS.DONE()
TEARDOWN
# Category page app list main tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Selector is visible
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
PASS API call was made
PASS Assert src
PASS Fail to find element matching selector: .mkt-tile .author a
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Category failing test
Starting test
Opening http://localhost:8675/
FAIL Subject is strictly true
# type: assert
# file: tests/ui/app_list.js
# subject: false
TEARDOWN
# Category page app list model cache test
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Assert model cache
HELPERS.DONE()
TEARDOWN
# Category page app list expand toggle
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list.expanded
PASS Tracking event exists
PASS Find an element matching: .app-list-filters-expand-toggle:not(.active)
PASS Find an element matching: .app-list:not(.expanded)
PASS Tracking event exists
HELPERS.DONE()
TEARDOWN
# Category page app list load more
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
API url param mismatch:
{"cache":"1","vary":"0","lang":"en-US","region":"us","limit":"24","cat":"games","offset":"24"}
{"cache":"1","cat":"games","lang":"en-US","limit":"24","region":"us","vary":"0"}
PASS API call was made
app-136302,app-136303,app-136304,app-136305,app-136306,app-136307,app-136308,app-136309,app-136310,app-136311,app-136312,app-136313,app-136314,app-136315,app-136316,app-136317,app-136318,app-136319,app-136320,app-136321,app-136322,app-136323,app-136324,app-136325,app-136326,app-136327,app-136328,app-136329,app-136330,app-136331,app-136332,app-136333,app-136334,app-136335,app-136336,app-136337,app-136338,app-136339,app-136340,app-136341,app-136342,app-136343
PASS Assert model cache after Load more
PASS Current url matches the provided pattern
HELPERS.DONE()
TEARDOWN
# Category page pagination rewrite tests
Starting test
Opening http://localhost:8675/category/games
Viewport dimensions changed to: 320x480
PASS Find an element matching: .app-list-app:nth-child(23)
PASS Fail to find element matching selector: .app-list-app:nth-child(25)
HELPERS.DONE()
TEARDOWN
# Category mobile previews tests
Starting test
Opening http://localhost:8675/category/games
^Cmake: *** [uitest-slimer] Interrupt: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment