diff --git a/README.md b/README.md index 6771660..feb20ab 100644 --- a/README.md +++ b/README.md @@ -94,11 +94,7 @@ You can click on buttons, click on links, fill in forms, and do many other thing ### Generating Assertions in the Browser -#### Method 1: -If you want to add an assertion that some content exists on the page, simply highlight some text and press ControlShift + A. You should see a confirm dialog asking for if you want to move forward with the assertion or cancel. - -#### Method 2: -You can now generate assertions by selecting your text and right-clicking with your mouse or touchpad. +If you want to add an assertion that some content exists on the page, simply highlight some text and right click or press ControlShift + A. You should see a confirm dialog asking for if you want to move forward with the assertion or cancel. ### Flushing In Browser Actions and Assertions to the Test File diff --git a/app/views/magic_test/_context_menu.html.erb b/app/views/magic_test/_context_menu.html.erb index 40370ca..3e183f0 100644 --- a/app/views/magic_test/_context_menu.html.erb +++ b/app/views/magic_test/_context_menu.html.erb @@ -13,7 +13,7 @@ function enableKeyboardShortcuts() { - // Ctrl+A to generate an assertion + // Ctrl+Shift+A to generate an assertion. function keydown(event) { if (event.ctrlKey && event.shiftKey && event.key === 'A') { event.preventDefault(); diff --git a/app/views/magic_test/_mutation_observer.html b/app/views/magic_test/_mutation_observer.html index 9bf22eb..e27d0fc 100644 --- a/app/views/magic_test/_mutation_observer.html +++ b/app/views/magic_test/_mutation_observer.html @@ -1,5 +1,4 @@ \ No newline at end of file +