[00:08:27] chrismcmahon: Hmm. I was expecting https://wmf.ci.cloudbees.com/job/VisualEditor-test2.wikipedia.org-linux-firefox/103/ to pass now that wmf22 rolled out to test2. :-( [00:13:22] James_F: so was I. looking... [00:13:55] chrismcmahon: I'm now not able to see the SauceLabs test videos for some reason, so struggling to work out what went wrong. [00:14:32] Oh, the bit looking for 've-init-mw-viewPageTarget-toolbar-editNotices-notice' will likely have failed with the new toolbar changes. [00:14:34] Hmm. [00:14:54] But then why did https://wmf.ci.cloudbees.com/view/r-ve/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox/ pass? [00:15:23] And also, the changes to the toolbar aren't yet in master, let alone on test2. [00:17:39] James_F: the basic_edit failure is a timeout, 2 cursor failures are interesting, transclusion seems to have not popped a hover icon, link seems to have not navigated all the way to the link text. [00:18:02] Hmm. [00:19:28] James_F: I'm out tomorrow, but Zeljko is going to run down any overnight failures with Jeff Hall in the morning. [00:19:35] * James_F nods. [00:20:29] James_F: I'll probably poke this a bit more this evening [00:20:44] chrismcmahon: Thanks. Will try to investigate myself too. [01:26:33] James_F: gerrit collision. I'm just trying remove one erroneous space character [01:26:40] chrismcmahon: Aha. OK. :-) [01:29:46] James_F: I'm going to +2 that if you don't mind so it will pass in the overnight build [01:32:11] chrismcmahon: Sure - have re-added the "[Browser tests]" qualifier and +2'ed. [01:38:12] I *always* forget that part [01:45:29] * James_F grins. [05:28:12] (CR) Zfilipin: [C: -1] "If we decide to restore this commit, I would prefer to restore it in ULS repo (with optionally deleting existing tests there)." [qa/browsertests] - https://gerrit.wikimedia.org/r/90380 (owner: Cmcmahon) [08:01:59] morning [08:20:38] (PS1) Hashar: doc.wm.o: migrate index page a standalone default.html [integration/docroot] - https://gerrit.wikimedia.org/r/90503 [08:20:48] (CR) Hashar: [C: 2] doc.wm.o: migrate index page a standalone default.html [integration/docroot] - https://gerrit.wikimedia.org/r/90503 (owner: Hashar) [08:20:50] (Merged) jenkins-bot: doc.wm.o: migrate index page a standalone default.html [integration/docroot] - https://gerrit.wikimedia.org/r/90503 (owner: Hashar) [08:43:38] Nikerabbit: morning [08:58:17] (PS1) Hashar: 'Cover' section listing code coverage reports [integration/docroot] - https://gerrit.wikimedia.org/r/90509 [08:58:32] (CR) Hashar: [C: 2] 'Cover' section listing code coverage reports [integration/docroot] - https://gerrit.wikimedia.org/r/90509 (owner: Hashar) [08:58:34] (Merged) jenkins-bot: 'Cover' section listing code coverage reports [integration/docroot] - https://gerrit.wikimedia.org/r/90509 (owner: Hashar) [09:04:43] zeljkof: I don't know how to proceed with the textarea related failure of yesterday [09:04:53] Nikerabbit: will take a look now [09:04:58] I need a few minutes to finish something [09:05:17] Nikerabbit: did you decide when would be a good time for you to pair with me? [09:10:31] zeljkof: I'd like to do it after our daily on some weekday [09:10:51] monday and wednesday 10am-noon? [09:11:46] aharoni: the same question for you, did you decide when would be a good time for you to pair with me? [09:16:29] zeljkof: two hours each? [09:16:40] and what timezone? [09:16:47] ;) [09:16:58] Nikerabbit: what ever you prefer, I think we should pair 2-4 hours weekly, I would suggest 4 hours [09:17:11] so 4 times 1 hour, 2 times 2 hours... [09:17:19] 2x2 sounds good to me [09:17:27] we are in the same timezone now, right? :) utc+2 [09:17:31] umm [09:17:35] it's 12.17 now for me [09:17:53] oh, then we are not the same time zone [09:18:00] it is 11:17 here [09:18:07] are you the same time zone as aharoni [09:18:08] * [09:18:10] ? [09:18:13] yes, but... [09:18:18] when do you switch to winter time? [09:18:28] I have no idea, in a few weeks I think [09:18:38] I think Google Calendar knows about that stuff [09:18:44] just create events there and invite me [09:18:44] we will switch in one week [09:18:48] okay [09:18:52] the calendar will figure it out [09:19:58] if I can figure out the calendar... [09:20:44] :) [09:20:49] Should I make the events? [09:21:47] zeljkof: noo I just did [09:21:55] zeljkof: please check [09:22:04] great, I will check the time and accept [09:22:14] if there are no conflicts, but there should not be any [09:23:15] Nikerabbit: accepted [09:23:18] see you on monday :) [09:23:34] I am almost finished with my stuff, will take a look at your problem in a minute [09:26:50] Nikerabbit: done, now taking a look at 88952 [09:43:05] zeljkof: can I help? [09:43:10] Nikerabbit: yes [09:43:12] :) [09:43:20] this is what I get when I run all tests [09:43:24] https://etherpad.wikimedia.org/p/88952 [09:43:55] meh! [09:44:00] why is it different for you? [09:44:42] for the modal dialog... my theory is that it hasn't finished saving before continuing to navigate away [09:44:51] but timed out after 5 seconds, waiting for {:class=>"tux-status-translated", :tag_name=>"span"} to become present (Watir::Wait::TimeoutError) [09:45:08] but that check should wait for it... does it need the index handling as well? [09:45:42] I will take a look [09:45:54] what is the test that is failing for you? [09:46:11] zeljkof: something like: I can edit existing translation [09:46:27] Scenario: Can improve own earlier translation [09:46:45] yes [09:47:55] ok, will work on it now [09:47:58] still getting: Modal dialog present [09:48:53] I will update the ether pad when I make progress [09:49:03] and push to gerrit when I have something to show [09:49:31] mm [09:49:49] which ether pad? [09:49:54] https://etherpad.wikimedia.org/p/88952 [09:53:43] Nikerabbit: but when I reload page manually, javascript "confirm navigation" popup does appear [09:53:54] so the popup is really there [09:54:23] yes it is [09:54:39] ok, so the test should dismiss it then [09:54:53] and you do not do that anywher [09:54:56] anywhere [09:55:00] will take a look how it is done [09:57:15] zeljkof: hold on a second. I think something is broken [09:59:54] zeljkof: yes, I'm so sorry [10:00:01] zeljkof: the tests found out an actual regression [10:00:04] :) [10:00:11] even _before_ merged into master [10:00:13] zeljkof: now only one scenario should fail [10:00:15] wow, good job [10:00:23] ok, will run the tests again [10:00:31] you have already fixed it on dev machine? [10:01:02] zeljkof: yes [10:02:44] great [10:02:58] take a look at the ether pad, just one test failed for me [10:03:02] will take a look at the cause now [10:03:24] alert?? [10:03:38] ooops :) [10:03:49] that was my change, trying to dismiss the alert [10:03:55] running again [10:06:48] zeljkof: yep, now it looks the same as mine [10:07:54] updated the pad, now only one error [10:07:57] looking [10:07:58] the first one looks like the previous test did not run the after(@stash) [10:08:12] yes, that is now the error I'm stuck with [10:08:58] should I try different way to access the contents? Should I modify our javascript to create the text field differently? Is it a bug somewhere? [10:09:12] Nikerabbit: do not know, loo [10:09:14] looking [10:12:30] Nikerabbit: how do you insert text into this textarea? [10:12:42] since firefox dom inspector sees no text there [10:12:43] [10:12:53] zeljkof: $( 'textarea' ).val( 'foo' ); [10:13:00] but I can see the text on the screen [10:13:04] really really strange [10:14:03] ok, so you just insert text into the first text area? [10:14:15] http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FTranslate.git/9d85779b5365e7d24577e24f9eb66d67dc6e969d/resources%2Fjs%2Fext.translate.editor.js#L444 [10:14:16] (not really a js/jquery ninja) [10:14:33] we are creating the textarea on the fly as well [10:15:09] that should not be the problem [10:15:35] but for some reason ff dom inspector thinks texarea has not text [10:15:42] can you reproduce it on your machine too? [10:16:26] zeljkof: when running tests at least [10:16:52] can you leave the browser open after the test and take a look at the page? [10:17:04] (you should also disable the after step hook) [10:17:07] in Chrome dom tree the text is also not visible [10:17:14] so the tests stays on the page [10:18:06] but that seems to be the behavior with all textareas [10:19:01] but where is the text then?! [10:19:17] if you enter text into text area, where is it in the dom? [10:19:44] probably selenium asks for the text of the text area and the browser (like it's dom inspector) says there is no text there [10:20:39] so it is impossible to compare the contents of a textarea? [10:21:00] everything is possible (almost) :) [10:21:32] Neither Chrome nor Firefox does not show any changes to dom when I alter the contents of an textarea [10:24:05] yes, just checked that [10:24:08] strange [10:24:56] how to check textarea content with query? [10:25:00] jquery? [10:25:08] (stupid autocorrect) [10:26:06] um [10:26:10] just with .val() [10:26:25] $( 'textarea' ).val() [10:26:32] and it really returns pupu [10:26:34] yeah, that takes the firs ttextarea it finds [10:26:43] let's try that... [10:36:42] Nikerabbit: want to hear a funny story? :) [10:37:22] which attribute do you think this code sets? [10:37:23] $( 'textarea' ).val( 'foo' ); [10:37:26] text or value? [10:37:29] :) [10:40:06] zeljkof: um [10:40:16] zeljkof: value in dom speak [10:40:25] selenium steaks dom :) [10:40:26] zeljkof: but not value as in attribute [10:40:26] https://gerrit.wikimedia.org/r/#/c/88952/7..8/tests/browser/features/step_definitions/translation_stash_steps.rb [10:40:34] this was all that needed to be done [10:40:36] test works fine now [10:40:55] zeljkof: funny [10:40:59] yes [10:41:07] I also thought it will set text, not value [10:41:20] but I am not really familiar with html/dom differences [10:41:39] anyway, all tests should work now [10:41:41] zeljkof: how about the step on line 29 on that url? [10:42:10] does foo.should == 'foo' work as expected? [10:42:34] in step 31 of translation_stash_steps.rb? [10:42:45] it should be [10:42:45] yeah [10:43:02] on(StashPage).second_translation_element.value.should == '' [10:43:13] or something like that [10:43:21] did you test if it breaks? [10:43:33] meaning if you put anything but empty string there, does the test fail [10:43:51] "you should never trust a test that you did not see fail" (unknown source) [10:43:54] it does, but I wonder if it fails if there is osmething in the text area [10:44:18] see my above comment (in quotes) [10:44:53] there are two ways it can be made to fail :) [10:46:51] zeljkof: yes it fails, so it is okay [10:46:53] zeljkof: thanks! [10:47:16] zeljkof: this completes the tests for this story [10:47:31] great [10:47:38] should I make the review of the complete commit? [10:48:15] zeljkof: we have Amir tasked for it, but it wont hurt if you catch the issues before that ;) [10:48:42] sure, will take a look now that I am somewhat familiar with the codee [10:49:00] prepare for at least -1 :) [10:49:32] the experience has shown that rarely a commit get +1 in the first look [11:28:34] zeljkof: left some counter questions. will fix the issues after lunch [11:29:09] will take a look [11:57:10] plop [12:17:33] evening [12:23:57] plop? [12:24:04] Nikerabbit: ^ [12:26:17] hi zeljkof [12:26:38] Hi Nikerabbit [12:27:44] zeljkof: can we reach consensus on the remaining questions on the patch? ;) [12:27:51] (PS1) Zfilipin: Moving documenation to mediawiki/selenium repository [qa/browsertests] - https://gerrit.wikimedia.org/r/90534 [12:28:00] just a second, will take a look [12:30:10] hashar: can the bot ping the channel when there are changes in mediawiki/selenium repo? [12:30:36] (PS2) Zfilipin: Moving documenation to mediawiki/selenium repository [qa/browsertests] - https://gerrit.wikimedia.org/r/90534 [12:33:43] zeljkof: yup, have to edit the grrrit configuration in labs/tools/grrrit [12:34:03] hashar: let me take a look, maybe I can make the change [12:36:04] Nikerabbit: 88952 looks good to me! :) [12:36:11] I gave it a +1 [12:36:36] I will let somebody else to merge it in [12:36:37] zeljkof: template: https://gerrit.wikimedia.org/r/#/c/85653/ [12:36:47] but I do not see Amir in reviewers [12:36:54] zeljkof: thanks, I will ping Amir [12:37:15] hashar: looks simple enough [12:37:16] will try [12:38:32] it is :-] [12:38:40] yuvipanda can merge and deploy [12:38:43] not sure who else [12:38:47] make sure to add him as a reviewer [12:45:08] hashar: done [12:45:10] https://gerrit.wikimedia.org/r/#/c/90537/ [12:45:23] goood [12:45:25] added you and yuvipanda to reviewers [12:47:26] hashar: what needs to happen to mirror a repo on github? [12:47:51] no idea :( [12:48:04] do you know who/where to ask? [12:48:32] Chad ^demon [12:48:39] but maybe it is documented somewhere on mw.org [12:56:23] hashar: thanks [12:56:29] will ping them later [13:11:58] hashar: found your comment in bugzilla https://bugzilla.wikimedia.org/show_bug.cgi?id=35429#c22 :) [13:13:50] created a bug [13:14:01] https://bugzilla.wikimedia.org/show_bug.cgi?id=55874 [13:22:00] (CR) Krinkle: [C: 1] mediawiki/conf.d/_join.php minor fix + comment update [integration/jenkins] - https://gerrit.wikimedia.org/r/90114 (owner: Hashar) [14:04:15] (PS1) Cmcmahon: only run on test2 until Bug 54886 resolved [qa/browsertests] - https://gerrit.wikimedia.org/r/90547 [14:05:30] (CR) Cmcmahon: "this should turn the beta labs builds green" [qa/browsertests] - https://gerrit.wikimedia.org/r/90547 (owner: Cmcmahon) [14:24:42] (PS13) Hashar: debian-glue macros and jobs [integration/jenkins-job-builder-config] - https://gerrit.wikimedia.org/r/71245 (owner: AzaToth) [14:24:53] (CR) Hashar: "rebased" [integration/jenkins-job-builder-config] - https://gerrit.wikimedia.org/r/71245 (owner: AzaToth) [14:28:25] (PS14) Hashar: debian-glue macros and jobs [integration/jenkins-job-builder-config] - https://gerrit.wikimedia.org/r/71245 (owner: AzaToth) [14:42:37] (CR) Zfilipin: [C: 2] only run on test2 until Bug 54886 resolved [qa/browsertests] - https://gerrit.wikimedia.org/r/90547 (owner: Cmcmahon) [15:51:48] (PS1) Zfilipin: WIP Moved config files to mediawiki/selenium repository [qa/browsertests] - https://gerrit.wikimedia.org/r/90559 [15:53:45] (PS2) Zfilipin: WIP Moved config files to mediawiki/selenium repository [qa/browsertests] - https://gerrit.wikimedia.org/r/90559