rockerest’s avatarrockerest’s Twitter Archive—№ 19,956

  1. Why is it that every time some junk is broken in RSpec/Capybara and I go google it, I am the very first person in the entire world to have had this problem?
    1. …in reply to @rockerest
      The app interrupts exiting the page by setting the returnValue of the beforeunload event, and NO ONE IN THE RAILS WORLD HAS HEARD OF THIS CONCEPT. Seriously it's all like "just accept the dialog in the test." like honey the dialog is popping up AFTER the test.
      1. …in reply to @rockerest
        > unexpected alert open: {Alert text : } Actually, no Selenium/RSpec, there are no alerts open. Do you mean a browser-generated confirm?
        1. …in reply to @rockerest
          This is what I mean when I say this paradigm is fundamentally orthogonal to web development. rockerest/1527781095982387200
          1. …in reply to @rockerest
            There is "the front end platform" and then there is whatever Rails is doing. That it runs in a web browser appears to be accidental.