;
            alert.visible = true;
            alert.title = title;

            setTimeout(function () {
              var elTitle = alert.$$('.alert h3').textContent;
              assert.equal(elTitle, title, 'Title is changed');
              done();
            }, 5);
          });

          test('Check labels', function (done) {
            var pri = 'this is first';
            var sec = 'this is second';
            alert.visible = true;
            alert.primary = pri;
            alert.secondary