QA/DateTimeInputTypes: Difference between revisions

From MozillaWiki
< QA
Jump to navigation Jump to search
Line 350: Line 350:
Meta: [https://bugzilla.mozilla.org/show_bug.cgi?id=888320 Bug 888320 - [meta<nowiki>]</nowiki> (datetime) [meta] implement all time and date related input types]
Meta: [https://bugzilla.mozilla.org/show_bug.cgi?id=888320 Bug 888320 - [meta<nowiki>]</nowiki> (datetime) [meta] implement all time and date related input types]


== Logged bugs ( blocking [https://bugzilla.mozilla.org/show_bug.cgi?id=888320 888320 ] ) ==
<bugzilla>
<bugzilla>
     {
     {
         "blocks":[1269956],
         "blocks":[888320],
         "include_fields": "id, priority, component, assigned_to, summary, status, target_milestone"
         "include_fields": "id, priority, component, assigned_to, summary, status, target_milestone"
     }
     }
</bugzilla>
</bugzilla>


 
== Bug Verification  (blocking [https://bugzilla.mozilla.org/show_bug.cgi?id=888320 888320 ]) ==
<div class="toccolours mw-collapsible mw-collapsed" style="width:auto">
<bugzilla>
 
    {
====== Bug fix verification ======
        "blocks":[888320],
<div class="mw-collapsible-content">
        "resolution":"FIXED",
{| class="wikitable" style="width:50%"
        "include_fields": "id, priority, component, assigned_to, summary, status, target_milestone"
|-
    }
! Bug No !! Summary !! Status !! Firefox Verion
</bugzilla>
|-
|  123 || bug summary || NEW || Nighly 45
|-
| || || ||
|}
</div></div>
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:auto">
 
====== Logged bugs ======
<div class="mw-collapsible-content">
Bug 111111<br/>
Bug 211111<br/>
</div>
</div>


= Sign off =
= Sign off =

Revision as of 15:27, 13 September 2016

Revision History

This section describes the modifications that have been made to this wiki page. A new row has been completed each time the content of this document is updated (small corrections for typographical errors do not need to be recorded). The description of the modification contains the differences from the prior version, in terms of what sections were updated and to what extent.

Date Version Author Description
11/23/2015 1.0 Brindusa Tot Created first draft

Overview

Purpose

Detail the purpose of this document. For example:

  • The test scope, focus areas and objectives
  • The test responsibilities
  • The test strategy for the levels and types of test for this release
  • The entry and exit criteria
  • The basis of the test estimates
  • Any risks, issues, assumptions and test dependencies
  • The test schedule and major milestones
  • The test deliverables

Scope

This wiki details the testing that will be performed by the project team for the Date Time Input Types project. It defines the overall testing requirements and provides an integrated view of the project test activities. Its purpose is to document:

  • What will be tested
  • How testing will be performed

Ownership

Development
Manager: Wesley Huang (irc: wesley_huang)
Engineering Contacts: Jessica Jong (irc: jessica), Scott Wu(irc: scottwu)
UX Designers: Morpheus Chen (irc: Morpheus), Tina Hsieh (irc: Tina_Hsieh)
Visual Designer: Helen Huang (irc: hhuang)
TDC QA Contact: Cynthia Tang (irc: cynthiatang)

Engineering Team - Nightly Testing:
Rares Bologa (irc: RaresB) - PM for QA team
Brindusa Tot (irc: brindusat) - leading QA efforts
Simona Badau (irc: simonab) - QA
Liviu Cardei (irc: liviucirdei) - QA
Roxana Leitan (irc: RoxanaLeintan) - QA

Testing summary

Scope of Testing

In Scope

Date/Time Picker project enables the feature on Desktop where HTML input fields should contain a date or time or allow users to select a week in a year.

The Date/Time Picker project:
- aims to provide 5 basic input/pickers: date, month, time, date time, and week
- it's designed to meet the following HTML standard criteria including "Preset Value", "Preset List", "Step", and "Max/Min"
- takes care of localization and accessibility (Cursor Only, Cursor+Keyboard, or Keyboard only).

Out of Scope

RTL currently is not in the scope.
At the time being - only the Gregorian calendar is considered.

Requirements for testing

Environments

Full testing will be performed on the following OSes:

  • Windows
  • Mac OS X
  • Ubuntu

Test Strategy

Test Objectives

This section details the progression test objectives that will be covered. Please note that this is at a high level. For large projects, a suite of test cases would be created which would reference directly back to this master. This could be documented in bullet form or in a table similar to the one below.

Ref Function Test Objective Evaluation Criteria Test Type Owners
1 Date picker The date picker is properly displayed Default input field displays yyyy-mm-dd (varies based on locale) Manual Eng Team
2 Date picker functionality The date can be properly selected User can properly pick between years/months/days Manual Eng Team
3 Month/year picker The month/year picker is properly displayed Default input field displays yyyy-mm (varies based on locale) Manual Eng Team
4 Month/year picker functionality The month/year picker is properly selected User can pick month first then year, vice versa Manual Eng Team
5 Time picker The time picker is properly displayed Default input field displays --:-- -- (varies based on locale) Manual Eng Team
6 Time picker functionality The time picker is properly displayed User can pick 3 columns in any order: hour, minute, AM/PM Manual Eng Team
7 Week picker The week picker is properly displayed Default input field displays Week --, yyyy (varies based on locale) Manual Eng Team
8 Week picker functionality The week can be properly selected User can pick months/years and the highlight in input box will move to picked segment and change value simultaneously Manual Eng Team
9 DateTime-local picker DateTime local picker is properly displayed Default input field displays yyyy-mm-dd, -- : -- -- (varies according to date and time picker) Manual Eng Team
10 DateTime-local picker functionality DateTime local picker can be properly selected User can pick the date that will automatically trigger the time picker and vice versa Manual Eng Team
11 Localization Date/Time pickers are properly displayed on locale builds User can pick between pickers on locale builds Manual Eng Team
12 Accessibility Date/Time pickers are visible and usable from accessibility point of view Testing for accessibility includes:

- Cursor only
- Cursor + Keyboard
- Keyboard-only
- testing using high Contract themes
- Screen reader ???

Manual Eng Team

Builds

This section should contain links for builds with the feature -

  • Links for Nightly builds
  • Links for Aurora builds
  • Links for Beta builds

Test Execution Schedule

Eng team will follow up the milestone given by the developers team: Milestone link

The following table identifies the anticipated testing period available for test execution.

Project phase Start Date End Date
Start project 2016.09.12
Study documentation/specs received from developers 2016.09.12
QA - Test plan creation 2016.09.12
QA - Test cases/Env preparation 2016.09.12
QA - Nightly Testing
QA - Aurora Testing
QA - Beta Testing
Release Date

Testing Tools

Detail the tools to be used for testing, for example see the following table:

Process Tool
Test plan creation Mozilla wiki
Test case creation TestRail
Test case execution TestRail
Bugs management Bugzilla

Status

Overview

Track the dates and build number where feature was released to Nightly
Track the dates and build number where feature was merged to Aurora
Track the dates and build number where feature was merged to Release/Beta

Risk analysis

Identify the high-risk assumptions
Identify existing bugs on the feature with high risk
Identify if other areas are affected by the fix

References

 - UX specifications - link
 - Roadmap wiki page - link
 - demo presentation - link
 - webpage sample - link
 - QA Kick-off etherpad link

Testcases

Overview

Summary of testing scenarios

Test Areas

Test Areas Covered Details
Private Window yes
Multi-Process Enabled yes
Multi-process Disabled No
Theme (high contrast) yes
UI
Mouse-only operation yes
Keyboard-only operation yes
Display (HiDPI) yes
Interraction (scroll, zoom) yes
Usable with a screen reader ??? e.g. with NVDA
Usability and/or discoverability testing yes Is this feature user friendly
RTL build testing ???
Help/Support
Help/support interface required ??? Make sure link to support/help page exist and is easy reachable.
Support documents planned(written) Make sure support documents are written and are correct.
Install/Upgrade
Feature upgrades/downgrades data as expected No
Does sync work across upgrades No
Requires install testing No separate feature/application installation needed (not only Firefox)
Affects first-run or onboarding NA Florin/Lawrence are investigating if there is a dedicated QA for this, or we should test? Should be an yes/no and if is yes should add in detail column the team/person assigned.
Does this affect partner builds? Partner build testing ??? yes/no options, add comment with details about who will lead testing
Enterprise Raise up the topic to developers to see if they are expecting to work different on ESR builds
Enterprise administration No
Network proxies/autoconfig No
ESR behavior changes No
Locked preferences No
Data Monitoring
Temporary or permanent telemetry monitoring ??? List of error conditions to monitor
Telemetry correctness testing No
Server integration testing No
Offline and server failure testing No
Load testing No
Add-ons If add-ons are available for testing feature, or is current feature will affect some add-ons, then API testing should be done for the add-on.
Addon API required? No
Comprehensive API testing No
Permissions No
Testing with existing/popular addons No
Security Security is in charge of Matt Wobensmith. We should contact his team to see if security testing is necessary for current feature.
3rd-party security review No
Privilege escalation testing No
Fuzzing No
Web Compatibility depends on the feature
Testing against target sites ???
Survey of many sites for compatibility No
Interoperability depends on the feature
Common protocol/data format with other software: specification available. Interop testing with other common clients or servers. No
Coordinated testing/interop across the Firefoxes: Desktop, Android, iOS No
Interaction of this feature with other browser features No

Test suite

Full Test suite - can be found on TestRails at  link
Regression Test suite - if available/needed.

Bug Work

Meta: Bug 888320 - [meta] (datetime) [meta implement all time and date related input types]

Logged bugs ( blocking 888320 )

Full Query
ID Priority Component Assigned to Summary Status Target milestone
446510 -- Layout: Form Controls Implement date/time input types on Mobile RESOLVED ---
769352 -- DOM: Core & HTML DOM/content implementation for <input type=date> RESOLVED mozilla20
773205 -- General Implement layout (UI) for date/time input types on Desktop RESOLVED ---
777279 -- DOM: Core & HTML Mounir Lamouri (:mounir) DOM/content implemententation for <input type='time'> RESOLVED mozilla21
825294 -- DOM: Core & HTML jordandev678 Implement framework for using date/time input types on Desktop RESOLVED mozilla50
888316 P3 DOM: Core & HTML [meta] DOM/content implementation for <input type="week"> RESOLVED ---
888324 P3 DOM: Core & HTML [meta] DOM/content implemententation for <input type="month"> RESOLVED ---
888328 -- DOM: Core & HTML implement <input type="datetime"> RESOLVED ---
888331 -- DOM: Core & HTML DOM/content implemententation for <input type="datetime-local"> RESOLVED ---
1069609 P3 Layout: Form Controls [UX] Provide specs for desktop layout of date/time inputs RESOLVED ---
1280654 P3 JavaScript: Internationalization API [meta] Expose a set of CLDR data via custom APIs for date/time format UI NEW ---
1283381 -- Layout: Form Controls [meta] Implement UI for date time input types NEW ---
1283382 P3 Layout: Form Controls Implement UI for <input type="month"> NEW ---
1286182 P1 Layout: Form Controls Jessica Jong [:jessica] (inactive) Implement the layout for <input type=date> RESOLVED mozilla53
1288591 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) Implement the layout for <input type=time> RESOLVED mozilla52
1289272 P2 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Consider changing the implementation of step attribute for input type=date RESOLVED mozilla50
1301295 P3 Layout: Form Controls [DateTimeInput] Increment/decrement values based on step when using arrow keys NEW ---
1301304 P3 Layout: Form Controls [DateTimeInput] dispatch keyboard events to picker when picker is opened by keyboard NEW ---
1301306 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] blur/focus events triggered when moving through inner text boxes RESOLVED mozilla52
1301308 P3 Layout: Form Controls [DateTimeInput] autocomplete/list support on input element NEW ---
1301310 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] picker gets hidden/shown when clicking through inner text boxes RESOLVED mozilla55
1301312 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] localization for <input type=time> input box RESOLVED mozilla55
1306215 P3 Layout: Form Controls Implement the layout for <input type=month> RESOLVED ---
1306216 P3 Layout: Form Controls Implement the layout for <input type=week> RESOLVED ---
1306217 P3 Layout: Form Controls Implement the layout for <input type=datetime-local> RESOLVED ---
1309457 -- Layout: Form Controls Style the hover state for <input type=time> RESOLVED ---
1310587 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] make background of reset button in input box transparent RESOLVED mozilla52
1310831 P3 Layout: Form Controls [DateTimeInput] Allow to copy and paste the value of the time field NEW ---
1314542 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] input field cleared unexpectedly when using up/down keys RESOLVED mozilla52
1314544 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] browser keyboard shortcut does not work when focus is on input box RESOLVED mozilla53
1320225 P1 Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] Integration of input type=date input box with picker RESOLVED mozilla53
1320227 P3 Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] localization for <input type=date> input box RESOLVED mozilla55
1323674 -- Layout: Form Controls [meta] defects in date time input types NEW ---
1332266 -- UI Widgets [DateTimePicker] Use Intl.getFirstDayOfWeek to show correct start of week based on current locale RESOLVED ---
1337234 P1 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Add new webAPIs for XBL in child to get calendar terms RESOLVED ---
1344642 P2 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Redefine date/time input related preferences RESOLVED mozilla55
1346085 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] (l10n) RTL support for <input type=time> input box RESOLVED mozilla55
1347069 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale RESOLVED mozilla55
1348052 P3 DOM: Core & HTML Ian Moody [:Kwan] (UTC+0) vertical scroll buttons on the datetime picker are opposed to the natural behavior of scrolling buttons VERIFIED mozilla55
1349106 P1 Internationalization Zibi Braniecki [:zbraniecki][:gandalf] LocaleService::GetAppLocalesAsBCP47() always returns ["en-US"] if called from content side RESOLVED ---
1418061 P3 Layout: Form Controls Jonathan Kew [:jfkthame] In the new FF57 date input widget with pt locale days of the week appear as segunda, terça, quarta,... These are too long and appear superimposed and scroll bars show up. VERIFIED mozilla70
1420126 P2 DOM: Core & HTML input:date value not changing on manual input and pressing return RESOLVED ---
1425218 P3 Layout: Form Controls <input type=time> uses AM/PM on a system with a 24h locale RESOLVED mozilla67
1446342 P2 DOM: Core & HTML Emilio Cobos Álvarez (:emilio) Input type="date" not working if the other form elements has name="document" RESOLVED mozilla61
1498787 -- General Rob Wu [:robwu] input type="datetime", type="datetime-local" and type="time" does not allow changing of seconds, even if the "step" attribute is set RESOLVED Firefox 64
1502390 P3 DOM: Core & HTML input date not respecting min max in same behaviour as chrome RESOLVED ---
1532923 P3 Layout: Form Controls use mozIOSPreferences API to identify the correct skeleton/pattern for the time picker NEW ---
1583623 P3 DOM: Core & HTML InvalidStateError is thrown when trying to set valueAsNumber of an input with type="datetime-local" on Google Maps RESOLVED ---
1634308 -- DOM: Forms input date does not display using dateformat specified in the OS UNCONFIRMED ---
1809038 -- DOM: Forms Date picker for <input type=date> does not scroll with input element NEW ---
1891318 -- Layout: Form Controls <input type=time> uses AM/PM on a system with a 24h locale, even with intl.regional_prefs.use_os_locales = true RESOLVED ---

51 Total; 11 Open (21.57%); 38 Resolved (74.51%); 2 Verified (3.92%);


Bug Verification (blocking 888320 )

Full Query
ID Priority Component Assigned to Summary Status Target milestone
446510 -- Layout: Form Controls Implement date/time input types on Mobile RESOLVED ---
769352 -- DOM: Core & HTML DOM/content implementation for <input type=date> RESOLVED mozilla20
777279 -- DOM: Core & HTML Mounir Lamouri (:mounir) DOM/content implemententation for <input type='time'> RESOLVED mozilla21
825294 -- DOM: Core & HTML jordandev678 Implement framework for using date/time input types on Desktop RESOLVED mozilla50
888316 P3 DOM: Core & HTML [meta] DOM/content implementation for <input type="week"> RESOLVED ---
888324 P3 DOM: Core & HTML [meta] DOM/content implemententation for <input type="month"> RESOLVED ---
888331 -- DOM: Core & HTML DOM/content implemententation for <input type="datetime-local"> RESOLVED ---
1069609 P3 Layout: Form Controls [UX] Provide specs for desktop layout of date/time inputs RESOLVED ---
1286182 P1 Layout: Form Controls Jessica Jong [:jessica] (inactive) Implement the layout for <input type=date> RESOLVED mozilla53
1288591 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) Implement the layout for <input type=time> RESOLVED mozilla52
1289272 P2 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Consider changing the implementation of step attribute for input type=date RESOLVED mozilla50
1301306 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] blur/focus events triggered when moving through inner text boxes RESOLVED mozilla52
1301310 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] picker gets hidden/shown when clicking through inner text boxes RESOLVED mozilla55
1301312 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] localization for <input type=time> input box RESOLVED mozilla55
1310587 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] make background of reset button in input box transparent RESOLVED mozilla52
1314542 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] input field cleared unexpectedly when using up/down keys RESOLVED mozilla52
1314544 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] browser keyboard shortcut does not work when focus is on input box RESOLVED mozilla53
1320225 P1 Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] Integration of input type=date input box with picker RESOLVED mozilla53
1320227 P3 Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] localization for <input type=date> input box RESOLVED mozilla55
1337234 P1 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Add new webAPIs for XBL in child to get calendar terms RESOLVED ---
1344642 P2 DOM: Core & HTML Jessica Jong [:jessica] (inactive) Redefine date/time input related preferences RESOLVED mozilla55
1346085 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] (l10n) RTL support for <input type=time> input box RESOLVED mozilla55
1347069 -- Layout: Form Controls Jessica Jong [:jessica] (inactive) [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale RESOLVED mozilla55
1348052 P3 DOM: Core & HTML Ian Moody [:Kwan] (UTC+0) vertical scroll buttons on the datetime picker are opposed to the natural behavior of scrolling buttons VERIFIED mozilla55
1349106 P1 Internationalization Zibi Braniecki [:zbraniecki][:gandalf] LocaleService::GetAppLocalesAsBCP47() always returns ["en-US"] if called from content side RESOLVED ---
1418061 P3 Layout: Form Controls Jonathan Kew [:jfkthame] In the new FF57 date input widget with pt locale days of the week appear as segunda, terça, quarta,... These are too long and appear superimposed and scroll bars show up. VERIFIED mozilla70
1425218 P3 Layout: Form Controls <input type=time> uses AM/PM on a system with a 24h locale RESOLVED mozilla67
1446342 P2 DOM: Core & HTML Emilio Cobos Álvarez (:emilio) Input type="date" not working if the other form elements has name="document" RESOLVED mozilla61
1498787 -- General Rob Wu [:robwu] input type="datetime", type="datetime-local" and type="time" does not allow changing of seconds, even if the "step" attribute is set RESOLVED Firefox 64

29 Total; 0 Open (0%); 27 Resolved (93.1%); 2 Verified (6.9%);


Sign off

Criteria

Check list

  • All test cases should be executed
  • All blockers, criticals must be fixed and verified or have an agreed-upon timeline for being fixed (as determined by engineering/RelMan/QA)

Results

Nightly testing

List of OSes that will be covered by testing

  • Link for the tests run

Merge to Aurora Sign-off List of OSes that will be covered by testing

  • Link for the tests run
    • Full Test suite

Checklist

Exit Criteria Status Notes/Details
Testing Prerequisites (specs, use cases)
Testing Infrastructure setup
Test Plan Creation
Test Cases Creation
Full Functional Tests Execution
Automation Coverage
Performance Testing
All Defects Logged
Critical/Blockers Fixed and Verified
Metrics/Telemetry
QA Signoff - Nightly Release Email to be sent
QA Aurora - Full Testing
QA Signoff - Aurora Release Email to be sent
QA Beta - Full Testing
QA Signoff - Beta Release Email to be sent