Gabriel Arcangel Zayas
Gabriel Arcangel Zayas
Maybe we could use a keybinding (similar to how we generate assertions with `Ctrl` + `Shift` + `A`) to start the `accept_alert` block, perform whatever actions we want to exist...
Ah, didn't expect to run into this, I'll wait for further clearance:
I'm afraid this might get in the way of generating assertions with Ctrl + Shift + A.
> I'm afraid this might get in the way of generating assertions with Ctrl + Shift + A. Alright, I was able to fix it.
If we wanted to write blocks, I'm thinking with our current set up we'd have to write something like this, which I'm not a fan of: ```JavaScript testingOutput.push({action: "accept_alert do",...
> I've seen other gems which use Rack to inject javascript into head of an html request (e.g [rack-livereload](https://github.com/jaredmdobson/rack-livereload)). Found the line: https://github.com/jaredmdobson/rack-livereload/blob/42ab828ca73dcbebbc516b95b2f4b24541c228a5/README.md?plain=1#L29 Will have to think about how to...
I was able to fix the issue by editing figaro's code. ## Original Code https://github.com/laserlemon/figaro/blob/6ae998e8209a08f91a165822abecffc0a0626814/lib/figaro/application.rb#L55-L57 ## Edited Code ```ruby def global_configuration raw_config = raw_configuration.dup new_configs = {} raw_config = raw_config.split("...
Maybe we could do something like this. ```js function buildCapybaraAction(action, data = nil) { switch(action) { case 'fill_in': // ... case 'click_on': // ... } return {action: action, target: target,...
Hmm, might be difficult with our current setup since all of the JavaScript is written inside of HTML files, and because we wrap the code in `` tags, we're getting...
I guess my question is why don't we just have these as regular JavaScript files? I can understand for erb files such as `app/views/magic_test/_context_menu.html.erb`, but I think it makes sense...