Skip to content

Latest commit

 

History

History
236 lines (164 loc) · 8.62 KB

testing.md

File metadata and controls

236 lines (164 loc) · 8.62 KB

Logo

MS2-LingLang Testing Details

Main README.md file

View the live project here.


Table of Contents


Automated Testing

Validation Services

The following validation services and linter were used to check the validity of the website code.

  • W3C Markup Validation was used to validate HTML.
  • W3C CSS validation was used to validate CSS.
  • JSHint was used to validate JavaScript.
  • Chrome DevTools Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, SEO and more.

Manual Testing


Testing undertaken on desktop

  • Hardware:
    • Macbook Pro Laptop
    • HP laptop
    • Dell 5590 Laptop
  • Tested Operating Systems:
    • Windows 10
    • OSX 10.11
  • Tested Browsers:
    • Windows 10:
      • Chrome
      • Firefox
      • Edge
    • OSX 10.11
      • Chrome
      • Firefox
      • Safari

Testing undertaken on tablet and phone devices

  • Hardware:
    • iPad Pro 12.9"
    • iPad Pro 10.5"
    • iPhone XS Max
    • samsung a50
  • Tested Operating Systems:
    • iOS 13.5.1
    • iPadOS 13.5.1
    • Android 10 with One UI 2.0
  • Tested Browsers:
    • iOS / iPadOS
      • Chrome
      • Firefox
      • Edge

User Stories Testing


  • As a user, I can play a free game online.

    As a user, I can see a brief set of instructions on how to play the game.

    As a user, I can choose the game in three different languages

    1. Go to the Home page (or from any page).
    2. Looking at the Nav-bar, click the 'PlayGame'.
    3. Choose instruction to see how to play the game or choose In English, French or Spanish to go directly and play the game.
  • As a user, I want to see a brief background story about the site and what it's about.

    As a user, I can learn about the site's origin and why they began.

    1. Go to the Home page (or from any page).
    2. Looking at the Nav-bar, click the 'About Us' page.
    3. Scroll down until you see 'What We're About' and 'How We Began'.
  • As a user, I want to know where the company is located on a map.

    1. Go to the Home page (or from any page).
    2. Looking at the Nav-bar, click 'map'.
    3. The user will be brought to a google maps with LingLangs location.
  • As a user, I want to be able to Sign Up and choose a language for my child/ children.

    As a user, I can choose a language for my children to learn.

    1. Go to the Home page.
    2. Looking at the Nav-bar, click 'Sign Up'.
    3. A modal will appear instantly.
    4. Fill in your details and choose a language.
    5. Choose either English, French or Spanish.
    6. Submit.
  • As a user, I can choose more than one child to participate in a class.

    1. Go to the Home page.
    2. Looking at the Nav-bar, click 'Sign Up'.
    3. A modal will appear instantly.
    4. Fill in your details and 'No of Children - Max 4'.
    5. Choose either 1, 2, 3 or 4.
    6. Submit.
  • As a user, I want to be able to contact the website's team.

    1. Go to the Home page.
    2. Looking at the Nav-bar, click 'Contact Us'.
    3. A modal will appear instantly.
    4. Fill in your details.
    5. Click 'inquire about' and select 'LingLangs team'.
    6. Once the form is completed, click the arrow to submit.
  • As a user, I want to be able to contact administration about payment methods, complaints, general enquires and the language one might choose.

    As a user, I can get a notification once I have submitted my request and a confirmation message reciting the request is displayed on a new webpage.

    1. Go to the Home page.
    2. Looking at the Nav-bar, click 'Contact Us'.
    3. A modal will appear instantly.
    4. Fill in your details.
    5. Click ' inquire about' and select 'LingLangs team'.
    6. Once the form is completed, click the arrow to submit.
    7. A confirmation page will come up where the user can fill out a more detailed form if necessary.
  • As a user, I want to be able to access the site's if any Social Media platforms.

    1. Go to the Home page. (or any page).
    2. Scroll down to the very bottom.
    3. Click either Facebook, Twitter or Instagram.
  • As a user, I can contact the company for any problems I may encounter using their social media channels, call or email them.

    1. Go to the Home page. (or any page).

    2. Scroll down to the very bottom.

    3. In the footer you have Contact information - Email, Address and Phone Number.

      or

      1. Go to the Home page.
      2. Looking at the Nav-bar, click 'Contact Us'.
      3. A modal will appear instantly.
      4. Fill in your details.
      5. Click ' inquire about' and select 'General inquiry'.
      6. Once the form is completed, click the arrow to submit.
  • As a user, I can see some of The Team.

    1. Go to the Home page.
    2. Looking at the Nav-bar, click 'About Us'.
    3. Scroll down until you see Our Team.

Bugs

Resolved bugs

  • Start button on game when clicked more than once would increment the countdown timer on the clock.

    • I had to remove the start button and have the page refresh instead.
  • The overlays for each game, which appear before you start the game or upon completion would disappear without starting the game if you clicked anywhere on the screen.

    • I figured out how to make it so the only way to remove the overlay was by clicking the play/refresh button. Thereby leaving the game static.
  • With EmailJS I couldn't get the emails to send over a modal form.

    • I moved the form to the contact confirmation page which I used as a quick solution however, I would have preferred it send the modal contents to the user's email address.
  • In the beginning the cards for the game only matched the same link.

    • I figured out how to match them to different links thereby making it possible to have the pictures match their corresponding words thanks to StackOverFlow.
  • Regarding the modal, once opened they would move the back of the screen to the right and the bg-image looked like it was jumping.

    Apparently this was a known issue ( - known issue Correction taken from Bootstrap Github repo issue #15229) and the fix as supposed to be this:

  • .modal-open { overflow: auto; padding-right: 0 !important; }

However, as I was using a sticky-top this didn't work and so I had to put this instead:

  • body.modal-open-noscroll { margin-right: 0!important; overflow: hidden; } .modal-open-noscroll .sticky-top, .modal-open .navbar-fixed-bottom { margin-right: 0!important; }

This solved the problem but the hero img text moved up closer to the Navbar and I could not fix it with a 'margin-top' without losing some text to the background image on some moblie devices. As seen below.

losing-bottom

As a quick fix, I created to sections above the welcome section and added the margin-tops there.

  • On some ios (apple) devices, the cards in each game where all showing and the cardback would appear.

    • To solve this, I had to add -webkit- to each of the transformations and transitions in the css documents for each game.

Unsolved Bugs

  • The bottom of the screen on each game page for the ipad pro on Google dev tools goes beyond the footer.

ScreenBug

  • If you click the game button before the html has loaded, the game would not work. It doen't happen that often but did not know how to fix this problem.

    • best solution is to click the reload button and refresh the page.