[03:11:25] Yippee, build fixed! [03:11:26] Project browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9 build #429: FIXED in 4 min 55 sec: https://wmf.ci.cloudbees.com/job/browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9/429/ [03:45:15] Yippee, build fixed! [03:45:15] Project browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10 build #315: FIXED in 20 min: https://wmf.ci.cloudbees.com/job/browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10/315/ [04:51:40] Project browsertests-test2.wikipedia.org-windows-internet_explorer_10 build #306: FAILURE in 23 min: https://wmf.ci.cloudbees.com/job/browsertests-test2.wikipedia.org-windows-internet_explorer_10/306/ [05:41:34] Yippee, build fixed! [05:41:34] Project Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-7 build #4: FIXED in 2 min 33 sec: https://wmf.ci.cloudbees.com/job/Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-7/4/ [05:44:24] Yippee, build fixed! [05:44:24] Project Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-8 build #5: FIXED in 2 min 49 sec: https://wmf.ci.cloudbees.com/job/Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-8/5/ [08:57:06] Hi zeljkof [08:57:16] mayankmadan: hi [08:58:31] Is there any link about writing tests that i can read(im currently on my way to psychiatrist) [08:59:07] sure [08:59:25] I will add the link to the bug reports [08:59:26] bug report [08:59:26] and paste them here [09:00:12] Great [09:00:17] can you watch videos? [09:00:46] Nope. Don't have enough mobile data available [09:01:00] ok, I will post links to text then [09:01:51] But do paste the links to the videos in the bug report [09:01:58] will do [09:06:12] ok, this is text http://filipin.eu/how-mediawiki-software-that-runs-wikipedia-is-tested/ [09:06:39] and I will publish a new version of that blog post probably today [11:32:59] zeljkof: are you available for pair programming Friday? [11:33:20] mayankmadan: of course! :) [11:33:35] when would be a good time for you to pair? [11:34:15] I am free 8am-4pm UTC [11:35:06] that is 1:30pm-9:30pm your time, if I got it right [11:35:49] How about tomorrow? [11:36:43] I was talking about tomorrow :) [11:36:44] but I am free the same hours today [11:36:44] americans are on holiday today and tomorrow, so it is pretty quiet [11:38:53] Great [11:39:26] I am doing backups and stuff that I never have the time to do [11:39:39] let me know when would be a good time for you to pair [11:39:49] we can pair both today and tomorrow [11:40:00] this task is far more complicated than the previous one [12:08:22] ho zeljkof [12:08:24] *hi [12:08:29] im back home [12:08:40] hi mayankmadan [12:09:31] lets get started on tests [12:10:16] mayankmadan: do you have any questions? [12:10:41] zeljkof, i have no idea how to get started [12:10:44] :) [12:10:47] :) [12:11:00] did you read the articles that I have linked? [12:11:05] and watched the videos? [12:13:26] zeljkof, i have to write scripts for testing right? [12:13:35] mayankmadan: yes [12:13:48] the code that you have been working on in the last task is the test code [12:15:12] zeljkof, there is no link to the video [12:15:29] mayankmadan: the articles have embedded videos [12:15:33] can you see them? [12:23:45] can you help me get started? [12:24:26] sure [12:24:30] that is what pairing is for :) [12:24:36] would you like to pair now? [12:25:57] i cant do it now :( my internet connection is really slow right now [12:26:15] mayankmadan: we can pair over irc and hangout [12:26:16] i have lodged a complaint. [12:26:33] over irc and etherpad, I wanted to say [12:28:35] zeljkof, i wanted to pair when i have understood writing tests so that i would also be comfortable doing it over hangouts [12:29:07] mayankmadan: pairing is nothing else but two people working on the same problem together [12:29:27] and usually at least one of them knows what to do [12:29:35] so, if you need, help, we can pair [12:29:39] zeljkof, sure [12:29:50] then [12:29:50] if you would like to research first, that is fine [12:31:08] zeljkof, i want your help to get started right now :) if that means pairing then thats what we are going to do :) [12:31:24] :) [12:31:36] pairing just means two people working together [12:31:47] hmm [12:31:49] I need 5-10 minutes to finish backup [12:32:02] did you read the articles linked from the bug? [12:32:24] i was currently watching the video [12:32:36] mayankmadan: great, that is a good first step [12:32:40] read the articles and watch the video [12:32:49] I would repeat a lot of stuff from there [12:32:55] when you are done, let me know [12:33:01] I will be around for a few more hours [12:38:24] zeljkof, i was trying to run the script in irb from here http://filipin.eu/how-mediawiki-software-that-runs-wikipedia-is-tested/ [12:38:39] but i cant require watir-webdriver [12:39:05] mayankmadan: can you paste the terminal output to etherpad? [12:39:09] http://etherpad.wikimedia.org/p/mayankmadan [12:40:28] done [12:40:30] mayankmadan: you did not install everything needed :) [12:40:33] i mean pasted it [12:40:35] let me find the link [12:40:55] well, actually, the page that you have created a few days ago says what you need to do to get started [12:41:14] https://www.mediawiki.org/wiki/Browser_testing/setup_instructions [12:41:21] :) [12:41:22] did you follow the instructions here? [12:41:29] https://www.mediawiki.org/wiki/Browser_testing/setup_instructions#Ruby_on_Linux [12:42:11] mayankmadan: please read the entire page and do as it says [12:42:17] if anything is unclear, let me know [12:42:34] if you see that something is out of date, also let me know, or even better, fix it [12:42:59] mayankmadan: when ever you get stuck, and you have an error message, just paste it to the pad [12:43:03] and ping me here [12:43:07] ok [13:00:41] zeljkof, i tried that on irb and it worked [13:00:51] yeah! :) [13:04:04] zeljkof, what do i do now? [13:04:21] what have you done so far? [13:08:31] nothing. just tested with the script on the blog [13:08:43] i dont know where to start [13:08:56] on irb [13:09:04] havent tried cucumber [13:09:08] that is something [13:09:14] well, try cucumber :) [13:09:18] do you know how to try it? [13:10:10] nope. i think you'll have to teach me from scratch if its ok with you [13:10:32] sure, give me a few more minutes to finish backup [13:10:35] and read this in the meantime [13:11:24] no, wait [13:11:41] which articles from my blog post did you read? [13:11:50] and which videos have you watched? [13:11:52] http://filipin.eu/how-mediawiki-software-that-runs-wikipedia-is-tested/ [13:12:06] did you read/watch something else? [13:15:55] http://www.youtube.com/watch?v=Qp75Aq5wArE [13:16:20] ok, great [13:16:26] did you watch any of the workshops? [13:16:37] because in the workshops we cover how to create the first test [13:16:48] no [13:16:54] will do right now [13:16:57] please do [13:25:31] zeljkof, but first, please explain what exactly is the task? [13:26:00] the task is to create a few tests for exporting articles to pdf [13:26:07] did't the bug make it clear? [13:48:12] zeljkof, what exactly is cucumber and how does it understand when you type "When I am at random page" ? [13:48:35] mayankmadan: did you watch the workshop? [13:48:47] i am currently watching it [13:49:00] it will be clear to you by the end of it [13:49:04] if not, ask [13:49:10] okay [13:54:51] which ide do you use? [13:55:24] http://www.jetbrains.com/ruby/ [13:55:29] they have 30 day trial [13:55:54] and if work on open source (and this is open source) you can get a free open source license [14:02:00] zeljkof, did you get an open source license? [14:02:09] mayankmadan: yes [14:03:31] good morning everyone [14:03:31] zeljkof, does the feature file look for steps defined in step_definitions folder in the file with the same name? [14:03:42] (or good ______ depending on your time zone) [14:04:15] GEOFBOT: good afternoon :) [14:04:48] mayankmadan: no, feature file looks for steps in all files in step_definitions folder [14:06:08] zeljkof, so, how do you know which step is defined where? [14:07:44] the convention is to put steps from for example pdf.feature to pfs_steps.rb file [14:07:49] but they can be anywhere [14:07:53] in the folder [14:11:11] and rubymine (and cucumber) know what is defined where [14:12:23] zeljkof, what do i fill in project name in the form(open source license form) [14:12:27] wikimedia? [14:12:32] mayankmadan: no [14:12:41] then? [14:12:43] just download the IDE and use 30 day trial [14:12:49] ok [14:13:01] after 30 days, if you are still working with us I will send you the license [14:13:11] okay great :) [14:13:22] no problem, that is how it works [14:34:21] zeljkof, what does (.+) means ? [14:34:32] it is regular expression [14:34:47] it extracts text to variable, in this case [14:35:45] while watching the video i think that i now understand what i was seeing in the last task [14:35:55] yeah! :) [14:36:03] do you know how to write a simple test? [14:36:17] for example, go to a page and click a link [14:36:45] wait [14:37:01] what does this mean at the starting of the file [14:37:03] @ [14:37:14] that is cucumber tag [14:37:18] you can ignore them for now [14:37:20] i am 40 mins into the video and you havent explained it yet [14:37:25] ok [14:38:37] in wikilove.feature it says "When I am logged in" but i dont see definition for "I am logged in" in step_definitions [14:45:18] zeljkof, ^ [14:45:42] let me see [14:48:07] here it is: https://github.com/wikimedia/qa-browsertests/blob/43781c555086c95cef2e1e31aa059385f614bbd5/features/step_definitions/upload_wizard_steps.rb#L12 [14:50:22] how did you find it? [14:50:33] I have used github search :) [14:51:05] github search? [14:51:18] I have opened http://github.com/wikimedia/qa-browsertests [14:51:34] and typed the string into the search box at the top of the page [14:51:47] (I do not have IDE open, I am doing something else) [14:51:56] do you have rubymine open? [14:52:08] if you do a search from rubymine you should find it [14:53:29] rubymine is still downloading(its 148mb) [14:53:51] cant i run a test if firefox is already open? [14:53:52] and it takes a few mintues to boot, that is why I have used github search :) [14:54:00] you can [14:54:14] selenium creates a fresh firefox profile for every test run [14:57:11] writing tests is really interesting :) [14:58:01] mayankmadan: it is! :) [14:58:05] that is why I like it [15:13:30] sorry i disconnected [15:13:44] i didnt receive any of your messages [15:28:39] zeljkof, i cannot execute tests [15:28:48] im trying to execute wikilove.feature [15:28:56] it was fine sometime ago [15:29:03] mayankmadan: please post output to the pad [15:29:09] there is no output [15:29:22] what is the problem? [15:29:25] wait there is [15:29:28] what did you do? [15:29:42] i tried to export the variables MEDIAWIKI_USER and password [15:30:27] zeljkof, posted on etherpad [15:30:29] can you post more output? [15:30:37] from where you are setting env variables [15:30:43] and how you are executing tests [15:31:37] zeljkof, posted [15:31:55] what environment variables did you set? [15:32:03] can you post that to the pad too? [15:32:41] i just used export MEDIAWIKI_USER [15:32:41] and [15:32:48] export MEDIAWIKI_PASSWORD [15:32:56] with their appropriate values [15:33:00] ok [15:33:12] try this: [15:33:51] export BROWSER_LABEL=firefox [15:33:58] and try running the tests again [15:34:56] brb in about 5 mins [15:34:58] or 15 [15:35:07] mayankmadan: I will also go to lunch soon [16:02:48] back [16:06:31] zeljkof, latest error posted [16:08:51] zeljkof, which is same as previous [16:12:15] is there a way to reset the changes i did with the environment variables [16:13:54] zeljkof, ping me when you are back [16:30:20] zeljkof, nevermind with the error, just restarted the terminal and everything seems to work fine. but do ping me when you are back [18:10:20] Project browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9 build #430: FAILURE in 4 min 23 sec: https://wmf.ci.cloudbees.com/job/browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9/430/ [18:45:01] Project browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10 build #316: FAILURE in 19 min: https://wmf.ci.cloudbees.com/job/browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10/316/ [20:35:42] hello [20:35:45] good afternoon [20:40:31] Project Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-7 build #5: FAILURE in 2 min 39 sec: https://wmf.ci.cloudbees.com/job/Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-7/5/ [20:43:13] Project Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-8 build #6: FAILURE in 2 min 42 sec: https://wmf.ci.cloudbees.com/job/Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-8/6/ [20:45:46] Project Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-9 build #6: FAILURE in 2 min 32 sec: https://wmf.ci.cloudbees.com/job/Flow-en.wikipedia.beta.wmflabs.org-internet-explorer-9/6/ [20:57:25] does anyone know [20:57:25] how you upload custom jelly scripts to jenkins on cloudbees? [21:19:37] Project MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-firefox build #191: FAILURE in 18 min: https://wmf.ci.cloudbees.com/job/MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-firefox/191/ [21:36:42] Project UniversalLanguageSelector-en.wikipedia.beta.wmflabs.org-linux-firefox build #31: FAILURE in 28 sec: https://wmf.ci.cloudbees.com/job/UniversalLanguageSelector-en.wikipedia.beta.wmflabs.org-linux-firefox/31/ [21:48:39] nevermind [21:48:44] i installed a local copy of jenkins [21:51:44] Project UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox build #157: FAILURE in 15 min: https://wmf.ci.cloudbees.com/job/UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox/157/ [22:33:13] Yippee, build fixed! [22:33:14] Project VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome build #170: FIXED in 55 min: https://wmf.ci.cloudbees.com/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome/170/