dna-engine v

Visual Specification Runner

Specification: #01

Add 3 items and delete 1 item

Actual
Title: ~~title~~
Author: ~~author~~
Expected
Title: The DOM
Author: Jan
Title: Howdy HTML5
Author: Ed

Specification: #02

Add 2 items, empty, and add 1 item (with mustache)

Actual


Title:
Author:

Expected

Title: The One
Author: Lee

Specification: #03

Add 3 items with fade (1st one blue) and top set to true

Actual

Title: ~~title~~
Author: ~~author~~

Expected

Title: 3rd
Author: Jan
Title: 2nd
Author: Jan
Title: 1st
Author: Jan

Specification: #04

Add 1 items with an image

Actual
Title: ~~title~~
Author: ~~author~~
Cover: cover
Expected
Title: <b>Text</b>&bull;
Author: Lee
Cover: cover

Specification: #05

Add 2 items in an array twice

Actual
Expected
Title: 1st!!
Author: Lee
Code: 1100
Location: 1
Title: 2nd!!
Author: Jan
Code: 900
Location: 2
Title: 1st!!!
Author: Lee
Code: 1100
Location: 3
Title: 2nd!!!
Author: Jan
Code: 900
Location: 4

Specification: #06

Add 1 item with attributes

Actual
Title: ~~title~~
Expected
Title: Les Attributs

Specification: #07

Embedded template with array of data

Actual
Author: ~~author.name~~
Chapter: ~~header~~~~author.name~~
Expected
Author: Ed
Author: Jan
Chapter: Preface
Chapter: Index
Author: Lee

Specification: #08

Add 2 items and refresh

Actual

Authors (1): ~~[value]~~

Authors (2): ~~[value]~~

Authors (3): ~~[value]~~

Title: ~~title~~
Authors: *~~[value]~~
Score: ~~score~~
On Sale: ~~onSale~~
Expected

Authors (1): Jan

Authors (2): Jan and Bo

Authors (3): Jan, Bo and Ed

Title: The New DOM
Authors: *Jan II *Bo
Score: 81
On Sale: true
Title: Howdy HTML5
Authors: *Ed II
Score: 97
On Sale: false

Specification: #09

Add 2 items ( and ) loaded from REST call

Actual
Title: ~~title~~
Author: ~~author~~
Expected
Title: Go JavaScript
Author: Jake
Title: Styling CSS3
Author: Abby

Specification: #10

Add 1 item 3 times and apply callback function

Actual
~~title~~
Expected
Background
Background
Background

Specification: #11

Add 2 items with missing fields

Actual
Title: ~~title~~ [Gone with the Wind]
Author: ~~author~~
[no author]
Available
Out of stock
ON SALE!
Regular price
Expected
Title: [Gone with the Wind]
Author: Jan
Available
ON SALE!
Title: Howdy HTML5
[no author]
Out of stock
Regular price

Specification: #12

Array field (sub-template)

Actual
Title: ~~title~~
Authors 1: (~~[count]~~) ~~[value]~~
Authors 2: [~~[value]~~]
~~[count]~~. ~~type~~: ~~header~~
Expected
Title: The DOM
Authors 1: (1) Bo I (2) Bo II
Authors 2: [Bo I] [Bo II]
Title: Howdy HTML5
Authors 1: (1) Ed (2) Jake (3) Abby
Authors 2: [Ed] [Jake] [Abby]
1. front: Preface &star;
2. back: Index
Title: Styling CSS3
Authors 1:
Authors 2:
Title: Howdy HTML5
Authors 1: (1) Ed (2) Jake (3) Abby
Authors 2: [Ed] [Jake] [Abby]
1. front: Preface ☆
2. back: Index
3. back: Bio
5. back: Bio 3
6. back: Bio X

Specification: #13

Security

Actual
Title: ~~[value]~~
Expected
Title: <script>alert(1);</script>
Title: <script>alert(2);</script>
Title: 21

Specification: #14

Simple array with rearrange and delete

Actual
Book #~~[count]~~: ~~[value]~~
Placeholder
Expected
Book #1: The DOM
Book #2: Howdy HTML5
Book #3: Styling CSS3
Placeholder

Specification: #15

Events

Actual
~~[count]~~: ~~[value]~~
No more clones!
Expected
3: Howdy HTML5
5: Styling CSS3








Specification: #16

Input tag properties (minimized attributes)

Actual

Title:

Options:
Cover:
Purpose:
Category:
~~category~~
Tags:

~~english.code~~

Secret:

~~secret~~

Published:


~~pubDate~~

Cover Color:

~~coverColor~~

Note (2s and 1s smart updates):

~~note~~

~~seconds~~: ~~note~~
Expected

Title:

Options:
Cover:
Purpose:
Category:
computers
Tags:

tech color

Secret:

0xDEADBEEF

Published:


2014-06-22

Cover Color:

#daa520

Note (2s and 1s smart updates):

Award winning

Specification: #17

Reusable component

Actual

Bookshelf

Title: ~~title~~
Author: ~~author~~
Expected

Bookshelf

Title: Go JavaScript
Author: Jake
Title: Styling CSS
Author: Abby
Title: Howdy HTML5
Author: Ed

Specification: #18

Smooth container and pulse button

Actual

~~[count]~~

 

Status message...

Expected

1

2

3

 

Status message...

Specification: #19

Panels - nav buttons

Actual

~~title~~

~~author~~

~~displayPrice~~

SALE!
SALE!
SALE!

Below the fold.
Expected

Styling CSS3

Abby

$19.99

SALE!
SALE!
SALE!

Below the fold.

Specification: #20

Panels - nested

Actual
  • Web
    • Technologies
      1. HTML
      2. CSS
    • Organizations
      1. W3C
  • Networking
    1. Protocols
    2. Equipment

HTML!

CSS!

W3C!

Protocals!

Equipment!

Expected
  • Web
    • Technologies
      1. HTML
      2. CSS
    • Organizations
      1. W3C
  • Networking
    1. Protocols
    2. Equipment

W3C!

Specification: #21

Panels - drop-down

Actual

Details

Author: ~~author~~

Language: ~~language~~

Expected

Details

Author: Abby

Language: fr

Specification: #22

Insert

Actual

Summary

Number of books: ~~numBooks~~

Total price: $~~totalPrice~~


Analytics

Title words:

~~[value]~~

Author names:

~~[value]~~


Expected

Summary

Number of books: 3

Total price: $82.48


Analytics

Title words:

css3 dom howdy html5 styling the

Author names:

Abby Ed Jan


Specification: #23

Formatters

Actual

~~title~~ * ~~author~~ * ~~price~~

Event (UTC assumes PDT):
~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~ ~~event~~
Price:
~~price~~ ~~price~~ ~~price~~
~~π~~ | ~~π~~ | ~~π~~
~~σ~~ | ~~σ~~ | ~~σ~~
Expected

THE DOM! * JAN! *

Event (UTC assumes PDT):
47008800000 Mon Jun 28 1971 1971-06-28 7:00pm Mon 1971-06-28 7:00pm Mon (PDT) 1971-06-28 Mon 7:00pm 1971-06-29T02:00:00.000Z 6/28/1971, 7:00:00 PM 6/28/1971 7:00:00 PM Jun 28, 1971 Mon Jun 28 1971 19:00:00 GMT-0700 (Pacific Daylight Time) 19:00:00 GMT-0700 (Pacific Daylight Time) 1971-06-29+02:00:00 1971-06-29+02:00:00.000 PDT Pacific Daylight Time Tue, 29 Jun 1971 02:00:00 GMT
Price:
$24.99 $2,499.00 ¥2,499
3 | 3.1416 | 3.14159265
71% | 70.7% | 70.71%

STYLING CSS3 * ABBY * ߏ

Event (UTC assumes PDT):
1904112000000 Sat May 04 2030 2030-05-04 1:00am Sat 2030-05-04 1:00am Sat (PDT) 2030-05-04 Sat 1:00am 2030-05-04T08:00:00.000Z 5/4/2030, 1:00:00 AM 5/4/2030 1:00:00 AM May 4, 2030 Sat May 04 2030 01:00:00 GMT-0700 (Pacific Daylight Time) 01:00:00 GMT-0700 (Pacific Daylight Time) 2030-05-04+08:00:00 2030-05-04+08:00:00.000 PDT Pacific Daylight Time Sat, 04 May 2030 08:00:00 GMT
Price:
$19.99 $1,999.00 ¥1,999
3 | 3.1416 | 3.14159265
71% | 70.7% | 70.71%

HOWDY HTML5 * ED *

Event (UTC assumes PDT):
Price:
$37.50 $3,750.00 ¥3,750
3 | 3.1416 | 3.14159265
71% | 70.7% | 70.71%