{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/SeLion/issues/143","labels_url":"https://api.github.com/repos/paypal/SeLion/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/paypal/SeLion/issues/143/comments","events_url":"https://api.github.com/repos/paypal/SeLion/issues/143/events","html_url":"https://github.com/paypal/SeLion/issues/143","id":100162118,"number":143,"title":"@WebTest parameters are not considered when sharing sessions","user":{"login":"mach6","id":3238999,"avatar_url":"https://avatars.githubusercontent.com/u/3238999?v=3","gravatar_id":"","url":"https://api.github.com/users/mach6","html_url":"https://github.com/mach6","followers_url":"https://api.github.com/users/mach6/followers","following_url":"https://api.github.com/users/mach6/following{/other_user}","gists_url":"https://api.github.com/users/mach6/gists{/gist_id}","starred_url":"https://api.github.com/users/mach6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mach6/subscriptions","organizations_url":"https://api.github.com/users/mach6/orgs","repos_url":"https://api.github.com/users/mach6/repos","events_url":"https://api.github.com/users/mach6/events{/privacy}","received_events_url":"https://api.github.com/users/mach6/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/SeLion/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/paypal/SeLion/labels/component:%20client","name":"component: client","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"sebady","id":1269980,"avatar_url":"https://avatars.githubusercontent.com/u/1269980?v=3","gravatar_id":"","url":"https://api.github.com/users/sebady","html_url":"https://github.com/sebady","followers_url":"https://api.github.com/users/sebady/followers","following_url":"https://api.github.com/users/sebady/following{/other_user}","gists_url":"https://api.github.com/users/sebady/gists{/gist_id}","starred_url":"https://api.github.com/users/sebady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebady/subscriptions","organizations_url":"https://api.github.com/users/sebady/orgs","repos_url":"https://api.github.com/users/sebady/repos","events_url":"https://api.github.com/users/sebady/events{/privacy}","received_events_url":"https://api.github.com/users/sebady/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/paypal/SeLion/milestones/3","html_url":"https://github.com/paypal/SeLion/milestones/M5","labels_url":"https://api.github.com/repos/paypal/SeLion/milestones/3/labels","id":1122908,"number":3,"title":"M5","description":"","creator":{"login":"mach6","id":3238999,"avatar_url":"https://avatars.githubusercontent.com/u/3238999?v=3","gravatar_id":"","url":"https://api.github.com/users/mach6","html_url":"https://github.com/mach6","followers_url":"https://api.github.com/users/mach6/followers","following_url":"https://api.github.com/users/mach6/following{/other_user}","gists_url":"https://api.github.com/users/mach6/gists{/gist_id}","starred_url":"https://api.github.com/users/mach6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mach6/subscriptions","organizations_url":"https://api.github.com/users/mach6/orgs","repos_url":"https://api.github.com/users/mach6/repos","events_url":"https://api.github.com/users/mach6/events{/privacy}","received_events_url":"https://api.github.com/users/mach6/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":25,"state":"open","created_at":"2015-05-21T09:35:02Z","updated_at":"2015-08-12T06:02:05Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-10T20:30:03Z","updated_at":"2015-08-12T06:02:05Z","closed_at":"2015-08-12T06:02:05Z","body":"If you run the following code, the `@WebTest` annotation parameters are ignored;\r\n\r\n\r\n```java\r\n\r\n@WebTest(browser = \"chrome\", browserHeight = 640, browserWidth = 480, additionalCapabilities = { \"version:41\" })\r\n@Test(singleThreaded = true)\r\npublic class SessionSharingTest {\r\n    private static SessionId sessionId;\r\n\r\n    private SessionId getSessionId() {\r\n        return Grid.driver().getSessionId();\r\n    }\r\n\r\n    @Test(priority = 1)\r\n    public void testSessionSharing_part1() {\r\n        Grid.open(\"http://www.selion.io\");\r\n        sessionId = getSessionId();\r\n        SeLionReporter.log(\"selion (\" + sessionId + \")\", true, true);\r\n    }\r\n\r\n    @Test(priority = 2, dependsOnMethods = \"testSessionSharing_part1\")\r\n    public void testSessionSharing_part2() throws IOException {\r\n        Assert.assertEquals(getSessionId().toString(), sessionId.toString());\r\n        SeLionReporter.log(\"selion (\" + sessionId + \")\", true, true);\r\n        assertTrue(Grid.driver().getTitle().contains(\"SeLion\"),\r\n                \"should be on selion.io with this session\");\r\n    }\r\n\r\n    @Test(priority = 3, dependsOnMethods = \"testSessionSharing_part2\")\r\n    public void testSessionSharing_part3() throws Exception {\r\n        Assert.assertEquals(getSessionId().toString(), sessionId.toString());\r\n        Thread.sleep(5000); //delay added to observe browser in this method before it is closed.\r\n    }\r\n\r\n}\r\n```"}}